Save files getting corrupted or deleted
Posted: Wed May 24, 2023 8:13 pm
I'm making a mobile game, and the save files are either getting deleted or corrupted when the player exits the game during the scene transition.
In short, the flow for changing a scenes goes like this.
1. Enter trigger to change scenes
2. Data gets saved
3. New scene gets loaded
4. Expensive method call that triggers GC (from an unrelated script's awake() method)
5. Data gets loaded
I was wondering if you had any suggestions for investigating the issue. Thanks!
Extra details:
- ES3 version 3.5.3
- Using gzip compression with no encryption
In short, the flow for changing a scenes goes like this.
1. Enter trigger to change scenes
2. Data gets saved
3. New scene gets loaded
4. Expensive method call that triggers GC (from an unrelated script's awake() method)
5. Data gets loaded
I was wondering if you had any suggestions for investigating the issue. Thanks!
Extra details:
- ES3 version 3.5.3
- Using gzip compression with no encryption