Have troubles with saving in a build.

Discussion and help for Easy Save 3
Post Reply
YarikGameDev
Posts: 1
Joined: Mon Jun 06, 2022 6:12 pm

Have troubles with saving in a build.

Post by YarikGameDev »

Good evening,
I doń`t actually know, what I can do, so I am writing to you. So, I have a project and I have built it. When I have done it for the first time, saving system worked correctly. But when I have built it second time, third etc. saving not worked.
I have one idea, that somewhere on my Mac I have .es3 file, that remained from my first built and all new builds catch it, instead of creating new file. I have tried to clear persistent data path, but it is doest help. I have tried to delete old .es3 file myself, but it doest help too. I have ES3 Managers on all my scenes.
And one interesting thing is that, in editor al worked correctly. And if I delete old .es3 file, ES3 will create new. And all game will work right.
I will be extremely thankful if you help me quickly. Thank you!
User avatar
Joel
Moodkie Staff
Posts: 4849
Joined: Wed Nov 07, 2012 10:32 pm

Re: Have troubles with saving in a build.

Post by Joel »

Hi there,

The save file is stored in Unity's Application.persistentDataPath at runtime, which differs from platform to platform. You can find the location for your platform in Unity's persistentDataPath guide:

https://docs.unity3d.com/ScriptReferenc ... aPath.html

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Post Reply