Issues with integrating google play games with Unity game

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Issues with integrating google play games with Unity game

Youssef abou el fotouh
Hello ,
I'm having trouble with integrating google play games into my unity game.
Whenever i try to authenticate by calling method :
Social.localUser.Authenticate(success => { });
i get the google play games popup , but then i do not get the screen that makes me choose an account to authenticate.
And i get in my log :
WARNING: Failed to sign in to Google Play Game Services.

From my research , i understood that it was an issue with SHA-1 key , and people suggested switching between SHA-1 keys of "App signing certificate" and "Upload certificate" in the credentials of google developer console (under OAuth 2.0 client IDs).
However , i tried switching between both keys but with no luck , and finally i have both keys now in my google developer console at the same time and authentication still fails !

What could be wrong ?
Does my game have to be published in google play and also in game services (inside play console ) so that authentication works ?
Also note that i have added my email as a testing email under the section of "Testing" inside game services of my play developer account.

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/android-platform.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-platform/1746c040-fe59-426f-b32a-310a1ca3a776%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.