Restore State wasn't called when loading saving file

I put Debug command and see that nothing was called after the yield return line in savingsystem.cs file.


I’m not enough experiences to solve this. This is what i received after using load command in savingWrapper.cs.

Usually, this happens when there is a SavingSystem already existing within the scene file, as opposed to within the PersistentObjectPrefab.
What happens in this case is that the SavingSystem within the scene is destroyed when the new scene is loaded, taking the Coroutine along with it.

The most common cause for this happening is still having a PersistentObjectPrefab within the scene.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms