playgameservices / play-games-plugin-for-unity

Google Play Games plugin for Unity
Other
3.45k stars 963 forks source link

Authentication callback never invokes or invokes too late #3170

Open rico345100 opened 2 years ago

rico345100 commented 2 years ago

Describe the bug There's a serious flaw that calling Authenticate method doesn't invoke the callback, or invokes too lately. There are so many people facing this issue and people are giving my game very, very negative scores.

With my test device, mostly it works fine, but sometimes, for no reason, the authenticate callback fired at least after 30 seconds! Sometimes even worse, it takes five minutes to ten minutes! There are no people who waiting for the authentication process ten minutes at all.

There are so many people telling me that the load never ends, and it's just because the authentication method just never called the callback. I hooked up my device to my dev PC and opened up Logcat when I was facing that issue, that the load takes over the 30 seconds, there was literally nothing. Not even a single error message at all.

To Reproduce Have no idea how to reproduce it. It just happens purely randomly.

Expected behavior Authenticate callback must be invoked, regardless of its success or failure.

Observed behavior The authenticating process takes at least 30 seconds to 10 minutes.

Bug Report No info to report for now.

Screenshots No screenshots for now.

Versions

Additional context This behavior does not just happen with 0.10.12, It has been a problem that has occurred steadily since two years ago. And I've updated this plug-in several times in those two years.

What makes the authentication process takes too long?

sampenguin commented 2 years ago

After months and many negative reviews, I finally just discovered this is the source of my "black screen after splash screen issue". The call to Authenticate never comes back to the callback. This plugin is broken. :(

RaphaelNSG commented 4 months ago

@rico345100 @sampenguin I'm facing the same issue. I just launched a new release of my game with Google Play Games plugin and now i have so many users that the plugin never return a result. I had to add a timeout to fix this issue.