Skip to content
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

Cloud saves sometimes deleted? #3298

Open
FunnerSoft opened this issue May 21, 2024 · 0 comments
Open

Cloud saves sometimes deleted? #3298

FunnerSoft opened this issue May 21, 2024 · 0 comments

Comments

@FunnerSoft
Copy link

Hello,

I have had an ongoing issue with my players' cloud saves sometimes becoming deleted.

They will be able to play for a long time. Frequently opening and closing the app over many days or months. But then suddenly, the cloud save will become missing.

When this happens I get a 'success' result from PlayGamesPlatform.Instance.SavedGame.OpenWithAutomaticConflictResolution.

I then also get a 'success' result from PlayGamesPlatform.Instance.SavedGame.ReadBinaryData.

However, the byte[] that is passed to my delegate is either null or zero length.

Sadly, I have never been able to find the repro steps.

I am quite certain that I am only providing valid data to PlayGamesPlatform.Instance.SavedGame.CommitUpdate. I never let my code pass a null array or a zero length array into the method.

I recently got a report from a player about their data being missing. I took a look at "google cloud console api and service charts" at
https://console.cloud.google.com/apis/api/games.googleapis.com/metrics?project=

And I noticed these errors
temp

Do you think these might be related?

I currently treat the google cloud saves as the primary save file. Is that not safe?

Thank you for any assistance you might be able to provide. I appreciate it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant