I’m using Play Games for Unity plugin to use GPGS in my unity game.
Recently, the official Google Ads Team contacted me to help to improve my Google Ads campaign and asked me to add Firebase integration to my project to track user data and events.
But IDK why, after adding SHA-1 digital fingerprints to my Firebase project, suddenly Google Play Games Services started to not work properly.
The first problem was the authentication. All authentication goes to failure. So I removed the SHA-1 from my Firebase project but still couldn’t sign in, so I had to reinstall the game, and the authentication process worked again.
But here’s the second problem, the most critical issue, after the authentication succeeds, it fails to load data from GPGS’s Saved Games feature.
As far as I know, Saved Games uses Google Drive API to save user data, but why it’s gone?
There are numerous people having the same issue, they lose all their progress earned from hundreds of playing my game I’m in a desperate situation. Does anyone know why adding SHA-1 fingerprint in the Firebase project messed up all Google Play Services, and why even though I deleted SHA-1, still it’s malfunctioning?
SHA fingerprint is only for making sure you are requesting the play services calls from a trusted source.
Currently I have my play services working fine. To find a fix for your scenario, I should be able to find a way to reproduce it. Let me know what should I do to reproduce it.
Back to the game (It will be shown up with new permission pop-ups)
Authentication will always fail
Remove added SHA-1 from the Firebase project
Authentication work back but all progress is gone
However, in step 4, there was an error that SHA-1 is already used in another App. Of course, I never made an app before in Firebase I never used it before, and also never used something called Google Cloud Project or something? Have no idea what’s they talking about.
Anyway, so I searched about it on Google and found a post that tries to add SHA-1 from Google Play Console → Release Management → App Signing section. After adding this SHA-1, GPGS started malfunctioning. Even though I already removed it, it still malfunctioning, and all user data is gone.