Hi,
I made a game for the Web Player and used PlayerPrefs to save the data. Everything works fine until the browser crashes (power off, sudden reset…) and all the data gets wiped.
We use PlayerPrefs.Save() On the button save, OnApplicationQuit() and right now every 60 seconds, but the file is not updating as frequently, only when you close the browser.
I tried to save a string with all the info into the local drive but web player won’t let me.
Is there any way to prevent this wipe? any workaround that doesn’t imply a database?
Sorry I took so long to answer. Some health issues.
It gives no error. In the editor it works perfectly but as soon as i use it on browser stop working. Do I need to add anything to the html to deal with the cookies or something? I don’t get why it works on the unity’s test but not on the actual webplayer.
The browser is Chrome.
Thanks for your help.
Edit: The cookie is saved and have the name and the values right, but is not loading it. I’m confused >_>