Search found 12 matches

by EVG
Thu Jul 06, 2023 11:51 am
Forum: General Discussion
Topic: Fatal Exception: java.lang.Exception in Google Play Console
Replies: 2
Views: 414

Fatal Exception: java.lang.Exception in Google Play Console

Got this error in Google Play Console:

Code: Select all

Fatal Exception: java.lang.Exception
NotImplementedException : Failed to initialize zlib. You probably have an old zlib installed. Version 1.2.0.4 or later is required.
es3.png
es3.png (17.48 KiB) Viewed 414 times
Unity 2022.3.2
Easy Save 3.5.5
by EVG
Sat Apr 29, 2023 3:51 pm
Forum: General Discussion
Topic: Save multiple files in the cloud
Replies: 5
Views: 5821

Re: Save multiple files in the cloud

//Save byte[] savedGameProgressData = ES3.LoadRawBytes(SaveManager.SaveDataFileName); ES3.Save("GameProgressData", savedGameProgressData); byte[] savedData = ES3.LoadRawBytes(); SaveGame(game, savedData, new TimeSpan()); //Load ES3.DeleteFile(); ES3.DeleteFile(SaveManager.SaveDataFileName...
by EVG
Sat Apr 29, 2023 3:39 pm
Forum: General Discussion
Topic: Save multiple files in the cloud
Replies: 5
Views: 5821

Re: Save multiple files in the cloud

Right now I'm using two different save files. The first file saves the general settings and game currency, the second saves the gameplay, and when a new game starts, the second file is deleted. Would it be correct in this case (for normal saving in Google Play Save Cloud) to make all saves into one ...
by EVG
Sat Apr 29, 2023 10:41 am
Forum: General Discussion
Topic: Save multiple files in the cloud
Replies: 5
Views: 5821

Re: Save multiple files in the cloud

Hi there, You use the filePath parameter of ES3.LoadRawBytes to specify which file you wish to upload. If you don't specify the filePath parameter it will get the bytes from the default file. All the best, Joel Thanks for the reply, I understand that. But I don't understand how to make two differen...
by EVG
Fri Apr 28, 2023 4:55 pm
Forum: General Discussion
Topic: Save multiple files in the cloud
Replies: 5
Views: 5821

Save multiple files in the cloud

Good afternoon. When using Easy Save 3, my game uses two different save files, how do I properly save both of them in the Google Play cloud? If there was only one file, it would be possible to simply translate its bytes and save, for example: byte[] savedData = ES3.LoadRawBytes(); SaveGame(savedData...
by EVG
Wed Feb 08, 2023 4:07 pm
Forum: General Discussion
Topic: Save problem after last update
Replies: 8
Views: 2959

Re: Save problem after last update

Thanks for the help!
by EVG
Wed Feb 08, 2023 2:51 pm
Forum: General Discussion
Topic: Save problem after last update
Replies: 8
Views: 2959

Re: Save problem after last update

Hi there, Your ES3.DeleteFile call doesn't specify a location so it will use the default location (which is File unless you've changed this in the settings), meaning the file on disk will be deleted but not any locally cached data. Specifying the cache should resolve your issue. I.e. var settings =...
by EVG
Wed Feb 08, 2023 2:26 pm
Forum: General Discussion
Topic: Save problem after last update
Replies: 8
Views: 2959

Re: Save problem after last update

Unfortunately the updated file did not help. All the same, there are elements of the previous save. Could it be caching? That is, I first cached something, saved the data, then deleted the save file, but the old cache still remained? And am I working with the cache correctly? Save: ES3.DeleteFile(Sa...
by EVG
Tue Feb 07, 2023 2:45 pm
Forum: General Discussion
Topic: Save problem after last update
Replies: 8
Views: 2959

Re: Save problem after last update

You appear to be using ES3File, which is intentionally undocumented and should not be used as it is only used internally (and is subject to change between versions). Is there no documentation about it? Here: https://docs.moodkie.com/easy-save-3/es3-api/es3-methods/es3file-clear/ If it cannot be use...