play-services-plugins icon indicating copy to clipboard operation
play-services-plugins copied to clipboard

Android app crashes on Social.localuser.authenticate

Open jonathan84clark opened this issue 6 years ago • 1 comments

Describe the bug When I call Social.localuser.Authenticate the application crashes. No error output or other information. The application I am working on simply stops working.

To Reproduce Steps to reproduce the behavior. Just call Social.localuser.Authenticate.

Desktop (please complete the following information):

  • Gradle version: 181.5540.7.32.5056338
  • Android Studio version: 3.2.1
  • Google Play Games Plugin 0.9.64

Additional context I was able to get the plugin to work in a different app but that was a few weeks ago(and may be an older version). The code I used for the other app is the same code I'm using for this one (copy paste).

I haven't done a regression test yet (on the plugin), I believe that is the next step.

My app is already on the Play Store I was hoping to enrich the users experience with a leaderboard.

Here is what I tried so far: Deleted the plugin from unity and reimported it.

Copied the resources XML again

Removed everything else from my code that could have caused a crash.

Added time between calling the initialize function and the authentication.

Looked at the Forums online but nothing yielded a result (or was horribly outdated).

I'm just about out of options. I'll do some regression tests tomorrow, see if an older version works. If not, I'm pulling the plug, I have another major feature I need to put in this version, I'll get that released and deal with this in 6 months when I have time. (If I can't get it fixed)

Any help would be great!

Thanks,

Jonathan L Clark

jonathan84clark avatar Sep 24 '19 05:09 jonathan84clark

Okay. I just did a regression test. I am on Unity 2019.1.3f1. I tested an older version of the plugin Google Play Games 0.9.53 and it worked! So there is something wrong with version 0.9.64. If someone has a similar issue with that version I recommend you use an older version until this issue is resolved.

jonathan84clark avatar Sep 24 '19 13:09 jonathan84clark