FAQ
Last updated
Last updated
Play Services Application Id
Make sure Game Services capability is enabled when you create your app id manually in iOS developer portal
Each keystore is linked to a SHA fingerprint. Please check below for creating SHA fingerprints on each environment (Debug, Release and Google play)
When development mode is enabled in Build Settings on Unity, it always uses defualt debug.keystore.
Check the below table to get PATH_TO_DEBUG_KEYSTORE (debug.keystore)
Platform
Path
Windows
C:\Users\USERNAME\.android\debug.keystore
(Replace with your username in the above path)
MacOSX
~/.android/debug.keystore
This usually happens for one of the 3 main reasons.
Your package name and certificate fingerprint do not match the client ID you registered in Developer Console. This means you haven't added the required SHA fingerprint correctly. You need to copy the printed SHA1 fingerprint in the logcat log and add it in the credentials section of google play console.
Your Play Services Application Id was incorrectly entered in Essential Kit Settings
In sandbox mode, the user you are trying to login is not added as a tester in your App's google play console under Play Games Services -> Setup and Management -> Testers
Nearly 99% of the sign in errors are due to not adding the correct credential for the keystore that is used in Google Play Console-> Your App -> Play Games Services -> Setup and Management -> Configuration.
For logging in successfully, you need to create the credential by setting the right SHA fingerprint on google play console. Please check setup here.
You can use the below command for getting the SHA fingerprint quickly
You need to have your JAVA_HOME environment variable set on windows or java should be in the PATH on mac.
keytool is a program from java sdk and you need to have java setup correctly to get it detected. Its used for getting SHA fingerprint from keystore or an APK.
This is an issue at iOS level which we don't have control. It's a limitation with Game Center and it won't show up the sign-in prompt once user cancels it earlier.
To resolve, user needs to manually sign-in from the settings of his device.