playgameservices / play-games-plugin-for-unity

Google Play Games plugin for Unity
Other
3.43k stars 954 forks source link

PlayGamePlatform.GetUserId() issues #3068

Closed cosmicmosmic closed 2 years ago

cosmicmosmic commented 2 years ago

Plugin Version : 0.10.12 Unity Version : 2019.4.26f

Hello, our game is currently in its 5th year of service and have been constantly using GPGS for Unity.

When GetUserId() method is called, we are getting two different results as below.

Some IDs are returned in only numbered format such as "104183295622761800000" (We will call them Group A). Other IDs are returned in letter 'g' + numbered format such as "g02000658613745100000" (We will call them Group B).

Starting mid-August (first reported in August 16th), we are getting increasing reports from Group A users that their accounts have been missing or corrupted.

Upon internal investigation, a portion of users that fell under Group A's ID format started to change in to Group B's ID format when GetUserId() method is called.

We are urgently asking for a way to solve this issue or inquire whether migration would be an option.

Thank you for your assistance in advance.

minka27 commented 2 years ago

Hello @cosmicmosmic, we are also experiencing this issue with Unity2020.3.15. Did you manage to figure something out in the meantime?

cosmicmosmic commented 2 years ago

@minka27 We managed unique users based on GetUserId(). So we are accessing DB and manually matching the IDs of customers who have problems. Many customers are experiencing inconvenience. I want to automatically migrate or solve this problem quickly.

minka27 commented 2 years ago

@cosmicmosmic Thanks for the reply! Did you find the root cause of the problem? Did you maybe update AdMob or similar prior to problem starting to occur?

cosmicmosmic commented 2 years ago

@minka27 Did you find the root cause of the problem? : I didn't find yet Did you maybe update AdMob or similar prior to problem starting to occur? : no

minka27 commented 2 years ago

Thank you!

zhangjianshuai commented 2 years ago

Thank you!

@minka27 @cosmicmosmic

we are also happening with 2017.4.30f1, Most of samsung mobile phone....

Maybe the problem of Google?

@

smile616 commented 2 years ago

Hi @cosmicmosmic, thank you for the report.

While format of the GetUserId() could change time to time, the result returned by GetUserId() should be stable for the given Play Games services profile (until user delete the profile or clean data for the game).

Upon internal investigation, a portion of users that fell under Group A's ID format started to change in to Group B's ID format when GetUserId() method is called.

Could you confirm that the affected users didn't remove their Games service profile? Were you able to reproduce the issue on your test/dev devices?

Thanks!

minka27 commented 2 years ago

We have confirmed that users that had the old id (without prefix "g") started sending new id to our backend (with prefix "g"). Same problem as @cosmicmosmic. A lot of users are complaining, with this change their progress is lost, we doubt that all of them removed GPG profiles. We suspect it has to do with GooglePlayGames update, but not sure.

smile616 commented 2 years ago

(internal issue id: b/198643920)

smile616 commented 2 years ago

@minka27 , @cosmicmosmic, @zhangjianshuai, We identified what's likely causing the issue on the Play Games services side. We are actively fixing the issue. No changes is required on your side. You should see reduction in number of the reports in few hours time. Current recommendation for the end users is to check internet connection and reboot their device after that (not guarantied that this would fix the issue).

zhangjianshuai commented 2 years ago

@smile616 thanks , Hope to solve it soon

minka27 commented 2 years ago

Thank you @smile616 ! Please inform us when the possible fix is released so we can confirm it helped us with the issue.

zhangjianshuai commented 2 years ago

When will it be resolved ?

minka27 commented 2 years ago

Hello @smile616 Do you maybe have any update on this issue? Also, once it's resolved, will the affected users get back their old ids? Thanks!

smile616 commented 2 years ago

@minka27 / @zhangjianshuai We applied some mitigation to prevent further spread of the issue. We are working on the fix that will recover the affected users. Yes, the affected users will get back their old ids.

bumiya commented 2 years ago

Hello @smile616

Our game has been experiencing the same issue since the end of August. Could you please let us know how the update is going?

And when the revised version is applied, it would also be nice if you could tell us what end users should do to restore the original ID data.

thank you.

smile616 commented 2 years ago

@minka27 / @zhangjianshuai / @bumiya

Fix have been pushed to the prod.

The affected end users should install the latest version of Play Games app available in the Play store, after that they will get the the original ID restored.

bumiya commented 2 years ago

Thank you for your answer @smile616.

Then, can we guide end users as follows?

  1. Install the latest version of "Play Games app".
  2. If you access the game after installation, you will be connected with the original ID.
minka27 commented 2 years ago

@smile616 Thank you very much!

bumiya commented 2 years ago

@smile616 Thank you!! Users are sending emails saying that the problem has been resolved.

smile616 commented 2 years ago

Users are sending emails saying that the problem has been resolved.

Great to hear! Thank you for the confirmation.