hi, I am loading world in my game, remaining in same scene, which takes a while in loading. I show a loading spinner during that time. But the spinner freezes for a while when the world loads. I tried using different threads but unity does not support it as per y knowledge. I also tried using invoke and coroutine.
Can anyone guide me ?
This probably means that a big spike in performance slows the game down to a crawl. One way to avoid it is to put the heavy logic in a coroutine, with yield’s that stop the computing a moment, allowing the loading thing to animate some, then do another chunk of computations, yield again… Rinse and repeat until loading finishes.