play-games-plugin-for-unity
play-games-plugin-for-unity copied to clipboard
Google Play Games Service Auth cancled
05-31 12:51:49.023: E/PlayGamesServicesSignInAuthenticator: **** Package name : com.dygame.zombiefire2
this is error log.
I feel bad adding to this since this error has been reported many times, but I am also having the same issue. I'll provide more info, but I'm not 100% sure we have the exact same issue.
Error: 2021/06/03 21:32:30.170 11670 11670 Error SignInRequest Setting result error status code to: 16 (Cancelled)
Things I have checked:
- Both my signing key cert and my upload key cert's SHA-1 are added to firebase.
- The package name in firebase matches the one in unity and google play console.
- I have tried with and without "proguard," and I have copied over the proguard file provided in the instructions
- I am using the "Web client (auto created by google service)" credentials in my google play console, and the client id there matches the one in the firebase auth provider (play games).
- My oauth consent in the google api console is set to internal
- my google services.json file has the correct client id and package name
- I copied over my app id into the google play configuration in unity and set the app id as well there.
The thing I am currently doing is right when the app starts up, I try to login. I see the "Connecting to google play store" and even a green spinner starts and stops a few times, but then the login does nothing.
The other thing I'm not 100% sure on was the instructions to the Android setup which state you have to install those plugins... I am not using android studio, but just unity and my IDE. Do I still need this / is this the issue?
I feel bad adding to this since this error has been reported many times, but I am also having the same issue. I'll provide more info, but I'm not 100% sure we have the exact same issue.
Error: 2021/06/03 21:32:30.170 11670 11670 Error SignInRequest Setting result error status code to: 16 (Cancelled)
Things I have checked:
- Both my signing key cert and my upload key cert's SHA-1 are added to firebase.
- The package name in firebase matches the one in unity and google play console.
- I have tried with and without "proguard," and I have copied over the proguard file provided in the instructions
- I am using the "Web client (auto created by google service)" credentials in my google play console, and the client id there matches the one in the firebase auth provider (play games).
- My oauth consent in the google api console is set to internal
- my google services.json file has the correct client id and package name
- I copied over my app id into the google play configuration in unity and set the app id as well there.
The thing I am currently doing is right when the app starts up, I try to login. I see the "Connecting to google play store" and even a green spinner starts and stops a few times, but then the login does nothing.
The other thing I'm not 100% sure on was the instructions to the Android setup which state you have to install those plugins... I am not using android studio, but just unity and my IDE. Do I still need this / is this the issue?
Did you solve this? I'm currently facing the same problem...
I did. I don't remember what the specific issue was, but I do know that it was misconfigured in the Google Cloud Services portion. I think it was the consent screen and maybe a few other settings. I think the ones who did the various tutorials I found assumed I knew some very basic things on setting it up, but I knew nothing.
@jdell64 I have same problem. Could you give your scopes from Google Cloud Services (like profile or something else?) and your PlayGamesClientConfiguration, please?
Cross commenting here since this error is frequently reported, but it was hard to find help.
This post really helped me:
https://github.com/playgameservices/play-games-plugin-for-unity/issues/3003#issuecomment-827718632
and I added some tips in my response:
https://github.com/playgameservices/play-games-plugin-for-unity/issues/3003#issuecomment-956834477