Hey, I am trying to sign in with google play games, I set up the code as they showed on GitHub and I added myself as a tester but it’s still not working
this is the logcat that I receive :
2023/04/18 18:10:07.816 18930 19006 Info Unity [Play Games Plugin 0.11.01] 04/18/23 18:10:07 +03:00 DEBUG: Activating PlayGamesPlatform.
2023/04/18 18:10:07.817 18930 19006 Info Unity [Play Games Plugin 0.11.01] 04/18/23 18:10:07 +03:00 DEBUG: Initializing the PlayGamesPlatform instance.
2023/04/18 18:10:07.817 18930 19006 Info Unity [Play Games Plugin 0.11.01] 04/18/23 18:10:07 +03:00 DEBUG: Creating Android IPlayGamesClient Client
2023/04/18 18:10:07.817 18930 19006 Info Unity [Play Games Plugin 0.11.01] 04/18/23 18:10:07 +03:00 DEBUG: PlayGamesPlatform activated: GooglePlayGames.PlayGamesPlatform
2023/04/18 18:10:14.828 18930 19006 Info Unity [Play Games Plugin 0.11.01] 04/18/23 18:10:14 +03:00 DEBUG: Starting Auth using the method isAuthenticated
2023/04/18 18:10:14.851 18930 19006 Warn Unity *** [Play Games Plugin 0.11.01] 04/18/23 18:10:14 +03:00 ERROR: Returning an error code.
I am getting this +03:00 ERROR: Returning an error code. and I can’t find any info about it
I fixed it it was a problem with the testers
it worked on local devices but when I upload it to the google play its stopped working
+03:00 ERROR: Requesting server side access task failed - com.google.android.gms.common.api.ApiException: 10:
I have read that its something with the sha1 hash so what I did is I created a new OAuth 2.0 Client IDs with the google generated sha 1 hash and then I changed it in the configuration and I updated the client id on unity but still nothing
is there another place that I need to update for the new sha 1 hash? so it will work with google play and not local builds
Hey thank you,
this is the thing I tried it
I took the play store hash from the app signing
and then I replaced the old hash with the new one
I can see it in the Configuration → then on Credentials I clicked on the arrow and I see the correct
Fingerprint
and I still see this error with the build that I installed from the internal testing
Error PlayGamesServices[SignInAuthenticator] **** APP NOT CORRECTLY CONFIGURED TO USE GOOGLE PLAY GAME SERVICES
Error PlayGamesServices[SignInAuthenticator] **** DEVELOPER_ERROR
Error PlayGamesServices[SignInAuthenticator] **** This is usually caused by one of these reasons:
Error PlayGamesServices[SignInAuthenticator] **** (1) Your package name and certificate fingerprint do not match
Error PlayGamesServices[SignInAuthenticator] **** the client ID you registered in Developer Console.
Error PlayGamesServices[SignInAuthenticator] **** (2) Your App ID was incorrectly entered.
Error PlayGamesServices[SignInAuthenticator] **** (3) Your game settings have not been published and you are
Error PlayGamesServices[SignInAuthenticator] **** trying to log in with an account that is not listed as
Error PlayGamesServices[SignInAuthenticator] **** a test account.
Error PlayGamesServices[SignInAuthenticator] **** (4) A server auth code was requested, but an incorrect client
Error PlayGamesServices[SignInAuthenticator] **** id was provided. The client id for server auth codes should
Error PlayGamesServices[SignInAuthenticator] **** be the client id for the game server (not the android app).
Error PlayGamesServices[SignInAuthenticator] ****
Error PlayGamesServices[SignInAuthenticator] **** To help you debug, here is the information about this app
Error PlayGamesServices[SignInAuthenticator] **** Package name :
Error PlayGamesServices[SignInAuthenticator] **** Cert SHA1 fingerprint:
Error PlayGamesServices[SignInAuthenticator] **** App ID from manifest :
Error PlayGamesServices[SignInAuthenticator] ****
Error PlayGamesServices[SignInAuthenticator] **** Check that the above information matches your setup in
Error PlayGamesServices[SignInAuthenticator] **** Developer Console. Also, check that you’re logging in with the
Error PlayGamesServices[SignInAuthenticator] **** right account (it should be listed in the Testers section if
Error PlayGamesServices[SignInAuthenticator] **** your project is not yet published).
Error PlayGamesServices[SignInAuthenticator] ****
Error PlayGamesServices[SignInAuthenticator] **** For more information, refer to the troubleshooting guide:
Error PlayGamesServices[SignInAuthenticator] **** http://developers.google.com/games/services/android/troubleshooting
Error PlayGamesServices[SignInAuthenticator] ****
the Cert SHA1 fingerprint that its showing me is the same as the sha1 that google give me when I uploaded the app
and I am in a test account
and package name , id is match
what does it mean by Your game settings have not been published ? if I am internal how do I publish it without going info the store
ok. Check once if App Id (Play Services Application Id) is properly configured. Also, if you recently added, give some time to propagate. I assume you already added your self as a tester in “Grow → Play Services → Testers” section in google play.