play-games-plugin-for-unity
play-games-plugin-for-unity copied to clipboard
Can't authenticate user, always canceled
Hi! My game can't authenticate user and it always returns result Canceled. It just shows Connecting to Play Games and then nothing. I'm using Unity 2021.1.6f1 and 0.10.12 package. Honestly, I don't know what to do. This is my first time working with this. I think I configured everything on Google Developer Console, includeing Play Game Services and OAuth.


private void Awake()
{
PlayGamesPlatform.DebugLogEnabled = true;
PlayGamesPlatform.Activate();
LogIn();
}
public void LogIn()
{
PlayGamesPlatform.Instance.Authenticate(SignInInteractivity.CanPromptAlways, (result) => { ... });
}
Hey Guys, has anyone solved this bug?
@agneisilva I had the same problem, are you sure the keystore you use for generating the SHA1 is the same for building the apk ?
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