E
E
Eduard Popov2018-08-25 14:50:01
Unity
Eduard Popov, 2018-08-25 14:50:01

Google Play Services authentication not working, what's wrong?

1. Imported the plugin GooglePlayGamesPlugin-0.9.50
2. Created a Leaderboard in the developer console.
3. In Unity, version 2017.3.0f3 (64-bit) I set up all the parameters, resources, that is, and the same ID.
4. Received two messages after Android Setup:
""
""
5. In the compilation settings, I specified the signature key and entered the password there.
6. Filled in Google Play, closed (also for internal did) testing, indicated testers.
7. Waited for publication.
8. Through BlueStack 3, by clicking on the link ( To join the testing), installed the application.
At first, it just flew out. Then I edited the code a bit, and when I logged in, Google Play Services prompted me to log in. After that, the application constantly crashes after the Unity logo.
Used this code:
.
.
.
private bool __auth;
.
.
private void Start()
{
var config = new PlayGamesClientConfiguration.Builder().RequestIdToken().Build();
PlayGamesPlatform.InitializeInstance(config);
PlayGamesPlatform.DebugLogEnabled = true;
PlayGamesPlatform.Activate();
Social.localUser.Authenticate(OnAuth);
}
public void OnAuth(bool success, string message)
{
Debug.Log("On auth - " + success + " Message - " + message);
__auth = success;
}
.
.
There were problems with the plugin - I couldn't find the manifest. I fixed it, it was just originally in a different folder.
It also writes to the log: On auth - False Message - Not implemented on this platform. But this is correct, since I run it in the editor?
5b81418b77a16462236731.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eduard Popov, 2018-09-01
@ZloyRazrab

I solved the problem, I realized that no one could help, so I created a quick guide in this video
https://gaming.youtube.com/watch?v=e3sC0Gpxzl8&fea...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question