hello.
When I reload same scene to make a new game for user (it's a restart button),
Everything looks fine. but after Reloading scene, AutoSave don't work anymore.
even if I played game I shut down the game. (EasySave make a savefile)
but when I start the game again, It a new game without saving information.
It's my code.
var es3File = new ES3File("SaveData.es3");
es3File.Clear();
es3File.Save<Transform>("myTransform", this.transform);
es3File.Sync();
SceneController.Instance.MainLoader(1);
** Scene 1 -> Scene1
After Reload scene, Auto-Saving function is not working.
Is any idea to make clear scene properly? ( ex) not using autosavefile when I touch a restart button )
plz help me T.T
when I reload same scene, after that,autosave is not working
Re: when I reload same scene, after that,autosave is not wor
Hi there,
Sorry, I don't fully understand. Are you using Auto Save, or are you using code? You seem to have pasted code. Are you using Auto Save as well?
If you're using Auto Save and code, you should save to a different file. In your case, you are clearing the file when you're using your ES3File code, so it will delete all Auto Save data from that file.
All the best,
Joel
Sorry, I don't fully understand. Are you using Auto Save, or are you using code? You seem to have pasted code. Are you using Auto Save as well?
If you're using Auto Save and code, you should save to a different file. In your case, you are clearing the file when you're using your ES3File code, so it will delete all Auto Save data from that file.
All the best,
Joel