Page 1 of 1

Possible to choose which data is loaded using Autosave?

Posted: Wed Aug 10, 2022 6:18 pm
by thrawndev
Hi

I have 2 scenes active at the same time. Each scene has an auto save manager. Auto save is working correctly in each scene individually and storing the data/gameobjects that I specified. Saving takes place just before I unload the scenes.

When I load back into these scenes and call ES3AutoSaveMgr.Current.Load();, the correct data is loaded but only into the active scene so the gameobjects from the second scene are created in the active scene as new gameobjetcs.

What i want to do is load "X" data into the active scene and then load "Y" data into the other scene (where it was saved initially). Calling ES3AutoSaveMgr.Current.Save() seems to save all the data I want in both scenes, but I cant work out how to load it back in its original place (if that makes sense)

How would be the best way to handle this?

Thanks!

Re: Possible to choose which data is loaded using Autosave?

Posted: Wed Aug 10, 2022 7:30 pm
by Joel
Hi there,

You would need to get the specific ES3AutoSaveMgr Component from the Easy Save 3 Manager GameObject and call Load() on that, rather than using ES3AutoSaveMgr.Current (which gets the one for the active manager).

All the best,
Joel