I
I
i__egor2022-01-11 17:29:11
Unity
i__egor, 2022-01-11 17:29:11

Why is the user not authorized in Google in Unity?

I use a well-known plugin, it seems the only plugin is play-games-plugin-for-unity. Here is the Init instruction:

var config = new PlayGamesClientConfiguration.Builder()
            .Build();

            PlayGamesPlatform.InitializeInstance(config);
            PlayGamesPlatform.DebugLogEnabled = true;
            PlayGamesPlatform.Activate();

I do authorization according to the instructions:
PlayGamesPlatform.Instance.Authenticate(SignInInteractivity.CanPromptOnce, (result) => {
                if (result == SignInStatus.Success)
                {
                    Debug.Log("Login successful!");
                }
                else
                {
                    
                }

            });

On the phone at the time of authorization, everything freezes, and nothing can be reset

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question