Hi,
I am preparing to release a game using ES3. https://store.steampowered.com/app/1697 ... Whisperer/
Now that I am testing and building different versions of the game, I found a (kind of) big issue.
If the player has a save file and I update the game, their savefile will be overwritten. If I build the game after clearing the persistant data path, it will erase the player savefile.
I haven't found any info about this on the forum, so I fell I am missing something...
How can I avoid this?
Thanks!
How to not overwrite player save file in new build?
Re: How to not overwrite player save file in new build?
Hi there,
We use Unity’s Application.persistentDataPath as the default storage location, and this should not be overwritten between updates unless you change the name or bundle identifier of your project.
If the data is being overwritten and you are not changing the name or bundle identifier, and you’re not using a custom storage location, it indicates that there’s a bug at Unity’s end with their Application.persistentDataPath.
As we’ve had no other reports of this, I would recommend sending a bug report to Unity which replicates it so that they can look into this issue, as this regards their functionality rather than ours.
For more info on Application.persistentDataPath, please see Unity’s documentation:
https://docs.unity3d.com/ScriptReferenc ... aPath.html
All the best,
Joel
We use Unity’s Application.persistentDataPath as the default storage location, and this should not be overwritten between updates unless you change the name or bundle identifier of your project.
If the data is being overwritten and you are not changing the name or bundle identifier, and you’re not using a custom storage location, it indicates that there’s a bug at Unity’s end with their Application.persistentDataPath.
As we’ve had no other reports of this, I would recommend sending a bug report to Unity which replicates it so that they can look into this issue, as this regards their functionality rather than ours.
For more info on Application.persistentDataPath, please see Unity’s documentation:
https://docs.unity3d.com/ScriptReferenc ... aPath.html
All the best,
Joel