Afternoon, I have 4 scenes that I want to load async with the load mode of additive then deativate them. I have that part working but I am having issues with getting the activating the current scene and deactivating the other scenes. It seems that when I activate the next scene the current one does not deactivate. It remains active… Any suggestions would help. Am I missing something.
There is no such thing as “deactivating” scenes. At least not this way. You always have one active scene, but all the loaded scenes are rendering. You can deactivate the game objects in the “deactivated” scenes or you can UnloadSceneAsync them.
Thx for replying. So, allowsceneactivation = true/false is not the way to go? I am trying to speed up the loading of scenes by preloading them. It’s only 4 and currently they take about 4-5 seconds to load.
That is only for the loading and you have to allow activation to finish the loading process. So it is not an option it is mandatory, but it allows you to delay the scene activation for reasons.
I might consider figuring out which specific assets are taking so long to load, and creating a specific loading scene which references all of those assets. Run the Loading scene before you get to your game’s menu, and don’t unload the Loading scene. When you load each level scene, none of the assets referenced in the Loading scene will need to be pulled from disk, so should be faster. Just a suggestion.