I'm facing a problems again with Unity2D. I've imported latest a Google Social package into Unity. There's some kind of problem when I'm authenticating a user.
using GooglePlayGames;
using UnityEngine.SocialPlatforms;
void Authentication()
{
PlayGamesPlatform.Activate();
Social.localUser.Authenticate((bool success) =>
{
if (success)
{
Debug.Log("You've successfully logged in.");
}
else
{
Debug.Log("Login failed for some reason.");
}
});
}
Using this function onStart() of the Unity's C# script. Application crashes on my mobile phone. Debug reports are following: