Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sign in problem Android #216

Closed
sliterod opened this issue Sep 3, 2014 · 11 comments
Closed

Sign in problem Android #216

sliterod opened this issue Sep 3, 2014 · 11 comments

Comments

@sliterod
Copy link

sliterod commented Sep 3, 2014

Hello. Lately I have some problems when I want to sign in on any Android device.
Even after upgrading the plugin, the error is still there. This is what it says:
"Unable to retrieve application xxxxxxxxxxxx from network.
Application ID xxxxxxxxxxxx is not associated with package com.company.game. Check the application ID in your manifest."

And the console output says:
09-03 17:57:17.980: I/Unity(9048): [Play Games Plugin DLL] GHM/GameHelperListener got onSignInFailed, origin 1001, notifying GHM.
09-03 17:57:17.980: I/Unity(9048):
09-03 17:57:17.980: I/Unity(9048): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
09-03 17:57:17.980: I/Unity(9048): [Play Games Plugin DLL] GHM got onSignInFailed, origin 1001, notifying AndroidClient.
09-03 17:57:17.980: I/Unity(9048):
09-03 17:57:17.980: I/Unity(9048): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
09-03 17:57:17.980: I/Unity(9048): [Play Games Plugin DLL] GHM got onSignInFailed from Sign In Helper. Showing error message.
09-03 17:57:17.980: I/Unity(9048):
09-03 17:57:17.980: I/Unity(9048): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
09-03 17:57:18.097: I/Unity(9048): [Play Games Plugin DLL] Error message shown.
09-03 17:57:18.097: I/Unity(9048):
09-03 17:57:18.097: I/Unity(9048): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
09-03 17:57:18.097: I/Unity(9048): [Play Games Plugin DLL] AndroidClient got OnSignInFailed.
09-03 17:57:18.097: I/Unity(9048):
09-03 17:57:18.097: I/Unity(9048): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
09-03 17:57:18.097: I/Unity(9048): [Play Games Plugin DLL] AUTH: FAILED!
09-03 17:57:18.097: I/Unity(9048):
09-03 17:57:18.097: I/Unity(9048): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
09-03 17:57:18.097: I/Unity(9048): [Play Games Plugin DLL] AUTH: Calling auth callback: success=False
09-03 17:57:18.097: I/Unity(9048):
09-03 17:57:18.097: I/Unity(9048): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)

09-03 17:57:30.363: I/Unity(9048): [Play Games Plugin DLL] GHM/GameHelperListener got onSignInFailed, origin 1000, notifying GHM.
09-03 17:57:30.363: I/Unity(9048): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
09-03 17:57:30.378: I/Unity(9048): [Play Games Plugin DLL] GHM got onSignInFailed, origin 1000, notifying AndroidClient.
09-03 17:57:30.378: I/Unity(9048): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
09-03 17:57:30.378: I/Unity(9048): [Play Games Plugin DLL] AndroidClient got OnSignInFailed.
09-03 17:57:30.378: I/Unity(9048): (Filename: ./artifacts/AndroidManagedGenerated/UnityEngineDebug.cpp Line: 49)
09-03 17:57:30.378: I/Unity(9048): [Play Games Plugin DLL] Normal OnSignInFailed received.

I know that the tester accounts are not the problem, because in iOS I can sign in without problems.

Any idea of what can I do? Thanks in advance.

@licensesRHI
Copy link

I'm receiving identical errors during development. Some devices have a 100% repro rate, while others work intermittently. Not sure what the cause is.

@ToddKerpelman
Copy link

Hmm... let me ask our engineers here if they know what's up. I suspect it might be at the platform level...

@ToddKerpelman
Copy link

For those of you having problems, some follow-up questions from our engineers:

  1. What version of the Unity plugin are you using?
  2. What application ID/package is this for? Have you verified that the combination is correctly set up, and matches the manifest?
  3. What percentage of accounts is this happening for? All accounts? Or only tester accounts? (Or are you still in unpublished phase and only using tester accounts?)

(If you don't feel like posting the AppID / package publicly, you can email to to me at toddkerp@gmail.com.)

@ajaybirla
Copy link

Hiii Todd,

I am also facing same issue,

Details :

Unity3D Version: 4.5.2f1
Google Play Game Services Plugin Version: 0.9.02 (Package Name: GooglePlayGamesPlugin-0.9.04)
Device: Moto G

My game is still unpublished and we are using testing accounts. It is happening to all accounts.

@ToddKerpelman
Copy link

Is there anybody encountering this problem who'd be willing to share an apk with us, so we can test it? You can send it to the email address above.

@sliterod
Copy link
Author

@ToddKerpelman, check your email. I've sent you an APK

@ToddKerpelman
Copy link

Hey, gang!

Long-overdue update: We think we know the source of this problem. For those of you who are experiencing this issue, we suspect it's because you published and then unpublished your application. Does that sound right?

If so, we should have a fix for it server-side, and it should be coming out later this week.

@sliterod
Copy link
Author

@ToddKerpelman, yes in fact, in my particular case, we did exactly as you describe. Thanks for all the help, I'll be checking later to download the update.

@ToddKerpelman
Copy link

Sure -- this particular update should be server-side, so no downloading required. That said, I think you can work around the issue now by re-publishing your game.

@claywilkinson
Copy link

Closing. Please open a new issue if this is unresolved.

@karthikeyan001
Copy link

Remove all account in Gmail except one account for testing purpose then check that working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants