What's the proper way to work with additive scenes?
Posted: Thu Feb 25, 2021 3:33 pm
Hi,
I'm wondering how I should go about using the auto saver when working with additive scenes.
I have a "SceneLoader" scene which contains some managers and is responsible for handling the loading of my actual game scenes, and when I switch to another scene, I unload the current scene, and load the new scene additively, leaving the sceneloader active.
However, I get all kinds of warnings from the autosave components. I had to switch the settings from load on "awake" to load on "start" (I actually have no idea how it ever worked on awake in the first place) in order for the data to load properly, and things seem to be working properly but I'm wondering: is it right to assume that each scene should have its own autosave manager and autosave reference manager? or should those preferably be put in my "loader" scene? I'm assuming the reference manager definitely has to be on a per-scene basis, since it otherwise wouldn't be able to do cross-scene references, but what about the auto-save manager. Is there any reason to put it in the permanent scene?
I'm wondering how I should go about using the auto saver when working with additive scenes.
I have a "SceneLoader" scene which contains some managers and is responsible for handling the loading of my actual game scenes, and when I switch to another scene, I unload the current scene, and load the new scene additively, leaving the sceneloader active.
However, I get all kinds of warnings from the autosave components. I had to switch the settings from load on "awake" to load on "start" (I actually have no idea how it ever worked on awake in the first place) in order for the data to load properly, and things seem to be working properly but I'm wondering: is it right to assume that each scene should have its own autosave manager and autosave reference manager? or should those preferably be put in my "loader" scene? I'm assuming the reference manager definitely has to be on a per-scene basis, since it otherwise wouldn't be able to do cross-scene references, but what about the auto-save manager. Is there any reason to put it in the permanent scene?