Hi guys!
I was wondering what method you are using to save player related data (what levels are done, name, etc…) between app updates? Is there any really safe and not too complicated method?
Hi guys!
I was wondering what method you are using to save player related data (what levels are done, name, etc…) between app updates? Is there any really safe and not too complicated method?
“not too complicated” is really subjective.
I’m using the json.net asset from the store. This is a port of a pretty standard json serialization lib that’s really robust and has been thoroughly battle tested. It’s pretty easy to use if you’re sort of familiar with stuff like serialization and the like.
If you aren’t it familiar with those kinds of things it might be a friggin nightmare. It’s hard to say.
hi! actually i am already using the same package json.net for saving data in playerprefs, but does it get saved when app is updated? does playerprefs are reset and erased?
I tend to think that player prefs PROBABLY remains between updates. It might depend on the platform - I would bet that webplayer would not keep it between updates (but it might). Someone better informed on different platforms and stuff might be able to help more.
I can speak for Windows, Macos, iOS , Andorid and on that platforms the playerpfrefs do not get deleted on an updated. Everything is getting kept between updates.