Load Game From Slot - Persistent Scene
Posted: Mon Jan 16, 2023 5:25 pm
Hi there!
I have a Persistent Scene that is loaded by default when the game is started, the "Main Menu" is an object on this scene which is active while the rest of the game components are inactive (main game UI, player, etc.).
When I load a save from a slot with SaveSystem.LoadGameFromSlot I want it to load the scene that the game was saved in additively, and then make that scene the active scene, leaving the persistent scene loaded but no longer considered the primary scene.
It seems like when I call the SaveSystem.LoadGameFromSlot it's unloading my persistent scene and loading the saved scene, which of course is causing all kinds of errors because the persistent scene has all the game components, player, etc.
Is there an easy way to configure this that I may just be missing?
Really loving DS, QM, and LH so far! Excited to get over this hump.
I have a Persistent Scene that is loaded by default when the game is started, the "Main Menu" is an object on this scene which is active while the rest of the game components are inactive (main game UI, player, etc.).
When I load a save from a slot with SaveSystem.LoadGameFromSlot I want it to load the scene that the game was saved in additively, and then make that scene the active scene, leaving the persistent scene loaded but no longer considered the primary scene.
It seems like when I call the SaveSystem.LoadGameFromSlot it's unloading my persistent scene and loading the saved scene, which of course is causing all kinds of errors because the persistent scene has all the game components, player, etc.
Is there an easy way to configure this that I may just be missing?
Really loving DS, QM, and LH so far! Excited to get over this hump.