Hi everyone, so I got google play console setup and everyting so i got OAuth with client id SHA1 and keystore logged in in project settings, added my self for test user disabled anti piracy. And I setup google play games plugin with manifest client id, i made script which is default one from unity docs for google play games auth and i get Login Unsuccessful I added success to debug and it says canceled??? I tried multiple things just to do google play games auth. Please help I am stuck for 4 days on it.

using GooglePlayGames;
using GooglePlayGames.BasicApi;
using UnityEngine;
public class GooglePlayGamesExampleScript : MonoBehaviour
    public string Token;
    public string Error;
    void Awake()
        //Initialize PlayGamesPlatform
        PlayGamesPlatform.Activate();
        LoginGooglePlayGames();
    public void LoginGooglePlayGames()
        PlayGamesPlatform.Instance.Authenticate((success) =>
            if (success == SignInStatus.Success)
                Debug.Log("Login with Google Play games successful.");
                PlayGamesPlatform.Instance.RequestServerSideAccess(true, code =>
                    Debug.Log("Authorization code: " + code);
                    Token = code;
// This token serves as an example to be used for SignInWithGooglePlayGames
                Error = "Failed to retrieve Google play games authorization code";
                Debug.Log("Login Unsuccessful" + success);

Login UnsuccessfulCanceled*** [Play Games Plugin 0.11.01] 01/27/24 18:08:55 +01:00 ERROR: Returning an error code.

I checked everything and redid everything and I never opened google play games app on phone so I never signed in, also i had LD player(android simulator) to check it on pc so i do not have to build and run every time on phone, but LD player i guess had trouble with google play games, so i switched to bluestacks and it works perfectly. So you have on forum.unity.com official google play games how to connect tutorial follow that and try it u have to have keystores matching sha1 matching and setup oauth correctly also you need to add user email into testers, one you use in google play games u can go in Google play games and check on right top corner which email are you using. So I think for me problem was LD player and that i forgot to sign in on phone into Google play games, but idk it just worked.

This took me AGES to figure out , but the problem (in my case) was this :
in google play console > Play Games Services > Setup and management > Configuration > Use next generation IDs this needs to be set to “Off”… PLUS you need to clear cache / data of the already installed app.

I found this out by reading the issues here :