- Home /
Question by
romanstasyshyn · Mar 20, 2021 at 07:19 AM ·
loadunload
What are the best methods to dynamically and smoothly load and unload locations?
Hello. I have a large seamless world (forest), I dynamically load and unload locations using additive scenes, but when loading I get a small stutter for one second. What are the best methods to dynamically and smoothly load and unload locations?
Comment
Answer by toficofi · Mar 20, 2021 at 12:52 PM
You're best to use the Profiler on a build to figure out where exactly it's stuttering when it comes to optimizations like this.
However, I have found that the activation step (where all the GameObjects are switched on) is often what hangs the main thread. You could batch these into smaller chunks and activate them over many frames.