play-games-plugin-for-unity icon indicating copy to clipboard operation
play-games-plugin-for-unity copied to clipboard

Can't authenticate user, always canceled

Open stroibot opened this issue 3 years ago • 3 comments

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.

Screenshot 2021-05-13 010049 Screenshot 2021-05-13 010103
private void Awake()
		{
			PlayGamesPlatform.DebugLogEnabled = true;

			PlayGamesPlatform.Activate();

			LogIn();
		}

		public void LogIn()
		{
			PlayGamesPlatform.Instance.Authenticate(SignInInteractivity.CanPromptAlways, (result) => { ... });
		}

stroibot avatar May 12 '21 22:05 stroibot

Hey Guys, has anyone solved this bug?

agneisilva avatar Jul 28 '21 21:07 agneisilva

@agneisilva I had the same problem, are you sure the keystore you use for generating the SHA1 is the same for building the apk ?

Lucidarme avatar Oct 13 '21 15:10 Lucidarme

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

bcmccracken avatar Nov 01 '21 23:11 bcmccracken