Currently, I'm collaborating on advertising my game with Google's official advertising team.

Recently, they requested me to link my game with Firebase to track user events and analysis. So I made a new Firebase project and entered SHA-1 digital fingerprint on that project today.

But after doing this, all users can't able to authenticate to Google Play Services anymore. So I removed the SHA-1 back from the Firebase project, and it seems to work back, but it lost all the saved progress in SavedGames.

Countless users will keep losing their data causing this. It's a desperate situation. Can anyone help me?

Unity version: 2019.4.3f1 Google Play Games Plugin for Unity version: 0.10.12

  • \$\begingroup\$ Are you still linked against the new database or you fully switched back to the old one? How do you identify a user from your against your data base user save data? \$\endgroup\$
    – Zibelas
    Commented Jun 28, 2022 at 7:21
  • \$\begingroup\$ @Zibelas There's no such database. I'm using GPGS SavedGames feature for saving their data. Is this related to this issue? \$\endgroup\$
    – modernator
    Commented Jun 28, 2022 at 7:53
  • \$\begingroup\$ It depends on your implementation I would say. SavedGames needs to have an identifier for each user (usually their google id or similar). And something that tells what is your game. All you wrote in the question is that you added a new Firebase, the Sha didnt work on that and you removed it again. But did you revert to the old Firebase (that might or might not be used as part of your SavedGames identifier?) \$\endgroup\$
    – Zibelas
    Commented Jun 28, 2022 at 8:44
  • \$\begingroup\$ @Zibelas Nope, I never reverted to some kind of old firebase kind of thing. I just removed SHA-1 fingerprints, and that's it. Nothing after done. And my implementation is just simple, I just signed in to GPGS by using "PlayGamesPlatform.Instance.Authenticate()", and load data from Saved Games using "SavedGameClient.ReadBinaryData()". There's no such kind of specifying the user id, it just loads data from the currently active user. \$\endgroup\$
    – modernator
    Commented Jun 28, 2022 at 9:00
  • \$\begingroup\$ To use the plugin, you must first configure your game in the Google Play Developer Console. Follow the instructions on creating a client ID. Be particularly careful when entering your package name and your certificate fingerprints, since mistakes on those screens can be difficult to recover from. as per the readme from github.com/playgameservices/play-games-plugin-for-unity/blob/… Did you delete that one as well? \$\endgroup\$
    – Zibelas
    Commented Jun 28, 2022 at 9:22


You must log in to answer this question.

Browse other questions tagged .