Answer the question
In order to leave comments, you need to log in
How to make authorization in the game through google play services in unity?
Used this script.
using GooglePlayGames;
using GooglePlayGames.BasicApi;
using UnityEngine.SocialPlatforms;
void Start()
{
PlayGamesPlatform.Activate();
Social.localUser.Authenticate((bool success) => {
if (success) Debug.Log("Удачно вошёл");
else Debug.Log("Не удачно вошёл");
});
}
Social.localUser.Authenticate((bool success) => {
if (success) Debug.Log("Удачно вошёл");
else Debug.Log("Не удачно вошёл");
});
Answer the question
In order to leave comments, you need to log in
Good afternoon.
1) get the ADB log for the release (or debug) version, the reason for the crash is usually indicated there (for example, the googleplay service is not worth it)
2) Accurately and super accurately check the points for googleplay (prerequestes) - https://github.com/playgameservices/ play games plus...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question