Search found 18 matches

by teq
Tue Nov 29, 2022 7:22 pm
Forum: General Discussion
Topic: Keep losing my saves in Player Prefs
Replies: 3
Views: 792

Re: Keep losing my saves in Player Prefs

Joel wrote: Tue Nov 29, 2022 6:50 pm Hi there,

Is there any reason you’re using PlayerPrefs rather than the default option of File?

All the best,
Joel
Yes, i tried File few years ago and also faced with the same issue.
by teq
Tue Nov 29, 2022 4:59 pm
Forum: General Discussion
Topic: Keep losing my saves in Player Prefs
Replies: 3
Views: 792

Keep losing my saves in Player Prefs

Hi there! I have many users of my app and sometimes they complain about losing app's settings state. I use ES3 with Player Prefs, AES enc, no compression. I use ES only for saving strings like "theme" -> "dark". Nothing more. I just create ES3File with ES3Settings _userES3Setting...
by teq
Thu Dec 12, 2019 12:55 pm
Forum: General Discussion
Topic: State of saved data after app update
Replies: 5
Views: 2109

Re: State of saved data after app update

Joel wrote:Hi there,

The same should also apply to PlayerPrefs, as it simply stores a file on the file system or within the registry.

All the best,
Joel
Hi! Another moment...if another user app uses ES, will it overwrite my player prefs file, so should i generate unique name for this?
by teq
Thu Nov 28, 2019 10:20 am
Forum: General Discussion
Topic: Error Unity: Texture needs to be...
Replies: 7
Views: 3190

Re: Error Unity: Texture needs to be...

Hi there, This sounds like an issue which is resolved in the next update. I'll PM you the update to try. All the best, Joel May be i should use syncWithFile param with false value? But i think it works not how i want, it would be ok if i only could delete data on key deletion, so i am going to wait...
by teq
Wed Nov 27, 2019 12:11 pm
Forum: General Discussion
Topic: Error Unity: Texture needs to be...
Replies: 7
Views: 3190

Re: Error Unity: Texture needs to be...

Hi there, This would indeed cause that file size, because Sprites are Textures, so to serialise this will mean seralising the raw texture data for the Sprite. With regards to settings, the settings provided as a parameter to methods is prioritised over the global settings. All the best, Joel Thanks...
by teq
Tue Nov 26, 2019 12:21 pm
Forum: General Discussion
Topic: Error Unity: Texture needs to be...
Replies: 7
Views: 3190

Re: Error Unity: Texture needs to be...

Hi there, Somewhere in your code you're trying to save a Texture2D. However, to access the Texture's data for saving, you must mark is as readable. You can do this by selecting the Texture and pressing the Read/Write Enabled button, and then pressing Apply. TextureReadable.PNG All the best, Joel Ob...
by teq
Tue Nov 26, 2019 12:18 pm
Forum: General Discussion
Topic: State of saved data after app update
Replies: 5
Views: 2109

Re: State of saved data after app update

Hi there, We store data to Unity's Application.persistentDataPath by default. Their documentation states: Files in this location are not erased by app updates. The files can still be erased by users directly. So no changes should be made to the file upon updating. If the file is being changed, it s...
by teq
Mon Nov 25, 2019 4:12 pm
Forum: General Discussion
Topic: Error Unity: Texture needs to be...
Replies: 7
Views: 3190

Error Unity: Texture needs to be...

Hi there! I'am trying saving list of object(not images, sprites and other) and got this stack of errors 11.25 18:06:33.419 15336 15463 Error Unity: Texture needs to be marked as Read/Write to be able to GetRawTextureData in player 11.25 18:06:33.419 15336 15463 Error Unity: ES3Types.ES3Type_Texture2...
by teq
Sun Nov 24, 2019 8:25 pm
Forum: General Discussion
Topic: State of saved data after app update
Replies: 5
Views: 2109

State of saved data after app update

Hi there! I am saving purchased items states with ES3 like "pro_version", "no_ads" and other common used ones. Users complain, that after purchase it work ok (so state is saved correctly), but after they open app again sometimes(not for all users) state of, for example, "pro...
by teq
Thu Nov 21, 2019 8:41 am
Forum: General Discussion
Topic: Reference manager question
Replies: 7
Views: 8077

Re: Reference manager question

So if i am only using ES3 for key/value database and not for scene gameobjects and prefabs, i can delete manager?