Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Google Play Games Error Sign

Discussion in 'Android' started by anugrah721, Sep 4, 2017.

  1. anugrah721

    anugrah721

    Joined:
    Jul 15, 2017
    Posts:
    8
    Hi All, i has been develop an android game, but while i use google play games services plugin i got problem when sign on the games

    my script and my debug on logcat
    void Start ()
    {
    PlayGamesClientConfiguration config = new PlayGamesClientConfiguration.Builder()
    .EnableSavedGames()
    .RequestServerAuthCode(false)
    .RequestIdToken()
    .Build();

    PlayGamesPlatform.InitializeInstance(config);
    PlayGamesPlatform.DebugLogEnabled = true;
    PlayGamesPlatform.Activate();
    }
    public void LogIn ()
    {
    Social.localUser.Authenticate ((bool success) =>
    {
    if (success) {
    Debug.Log ("Login Sucess");
    uitext.text = "succes";
    } else {
    Debug.Log ("Login failed");
    uitext.text = "failed";
    }
    });
    }
     

    Attached Files:

    • 1.jpg
      1.jpg
      File size:
      158.9 KB
      Views:
      789
  2. VonTala

    VonTala

    Joined:
    Feb 17, 2015
    Posts:
    10
    2019... i have the same issue