You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
I'm trying to sync data between two devices using Saved Games. Yesterday all was working fine.
Today synching is working in one direction only (from Device1 to Device2). That is, when I save new data on Device1, I see it on Device2. But when I save data on Device2, I don't see it neither on Device1 nor on Device2! Yes, it's very strange that Games.Snapshots.commitAndClose() on Device2 returns OK, but immediately after that Games.Snapshots.open() on on Device2 returns old (not updated) data. Below is log from Device 2 (old data on server was 010101):
And now saving is not working again, but only on Device 2 (On Device 1 all is working fine). It seems that Games.Snapshots.commitAndClose() sometimes doesn't update data for some reason, but returns OK.
Some additional informtaion:
Device1 is Samsung Galaxy S3, Device2 is Acer Iconia Tab.
Both have the latest Google Play Games installed from Google Play, and both are using the latest revision 27 of Google Play Services Library for Android.
I'm using test account configured on Google Play Developer Console.
Yesterday I used Games.Snapshots.resolveConflict a few times
Can you provide logs of when saving (when it seems like it is not saving the data)? If they are long, you can use a Gist. Does the cross-device save/load eventually sync up? There can be some delay since the data needs to travel over the internet, be persisted, and then go back.
I can get the logs next week. The problem is that after writing, reading back the data even to the same device gives the old data back. Only the modified timestamp seems to be correct. It doesn't report any conflicts or errors. In our case :)
I'm trying to sync data between two devices using Saved Games. Yesterday all was working fine.
Today synching is working in one direction only (from Device1 to Device2). That is, when I save new data on Device1, I see it on Device2. But when I save data on Device2, I don't see it neither on Device1 nor on Device2! Yes, it's very strange that Games.Snapshots.commitAndClose() on Device2 returns OK, but immediately after that Games.Snapshots.open() on on Device2 returns old (not updated) data. Below is log from Device 2 (old data on server was 010101):
I tried many times without success. Then, after one hour, a single save was successful:
And now saving is not working again, but only on Device 2 (On Device 1 all is working fine). It seems that Games.Snapshots.commitAndClose() sometimes doesn't update data for some reason, but returns OK.
Some additional informtaion:
UPDATE:
I just found similar issue report here:
http://forum.unity3d.com/threads/google-saved-games-service-commitupdate-issue.318452
Below is my code:
The text was updated successfully, but these errors were encountered: