New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CommitUpdate is not working on Android #460
Comments
|
There has been substantial fixes to the SavedGames API implementation on the server side. Can you confirm that this issue is resolved for you? Thanks! |
|
Hi, I'm facing the same problem. I save a simple string data and recieve the "success" callback from "savedGameClient.CommitUpdate". Then I try to Open and Read again the data file. I can see that the metadata changed with the new totalPlayedTime but the data are the old ones. I've tried different ConflictResolution strategies but mainly "UseLongestPlaytime". I just updated with the last release but the problem persists. Do you have any idea to resolve this problem ? Thank you |
|
We are currently encoutering the same problem right now in our project, but updating to the latest version will not be done right now because of how we handled the GooglePlay lib for other plugins to work around the multi-dex limitations of Unity before 5.3. Just wanted to chime in on the issue by mentionning that we are able to 100% repro the issue with the following steps:
As mentionned, the meta-data gets updated, but the raw save data always remain the one from the "future save". Tried multiple conflict resolution startegies, all of them resulting in the same behaviour. The issue can be resolved by pushing to the cloud with an even more advanced local time, or just by waiting to catch back up to the fake future date. Hope this helps in resolving the issue ;) |
|
Thanks @bbbreimmm for the clear reproduction steps. I'll pass them along and let you know when there is an update. |
|
The issue has been fixed in Aug/Sep of 2016. |
Cannot update data in snapshot.
I've got some data in savegame; metadata is marked with timestamp. I open this saved game for writing via
OpenWithManualConflictResolution(), and performCommitUpdate()with new data and metadata (timestamp); callback returnsSuccess. Then I reopen this saved game for reading viaOpenWithManualConflictResolution()and performReadBinaryData().Expected result: open succeeds with new metadata (timestamp), and read succeeds with new data.
Actual result: open succeeds with new metadata (timestamp), read also succeeds, but with old data.
Initial snapshot was created on another device; no conflicts were detected.
The text was updated successfully, but these errors were encountered: