Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Google play game services - nothing happpens

Discussion in 'Android' started by welly_59, Apr 10, 2014.

  1. welly_59

    welly_59

    Joined:
    Apr 10, 2014
    Posts:
    22
    I'm trying to implement the Google play game services within my app. I have added code to use the platform as the default social platform and the code to sign in but when I run the app on a device nothing happens to show its working or not. I have enabled the debug log for the plugin but don't know where to find it. Anyone able to help me debug it or tell me where I can find the log?
     
  2. welly_59

    welly_59

    Joined:
    Apr 10, 2014
    Posts:
    22
    PlayGamesPlatform.DebugLogEnabled = true;

    // Activate the Google Play Games platform
    PlayGamesPlatform.Activate();

    I have this code in my game manager:
     
  3. welly_59

    welly_59

    Joined:
    Apr 10, 2014
    Posts:
    22
    Social.localUser.Authenticate((bool success) => {
    // handle success or failure
    });

    And then this
     
  4. welly_59

    welly_59

    Joined:
    Apr 10, 2014
    Posts:
    22
    Social.ShowLeaderboardUI();

    And then this is my high score manager

    But nothing happens to show its working at all. No sign in notification, leaderboard does not show either
     
  5. welly_59

    welly_59

    Joined:
    Apr 10, 2014
    Posts:
    22
    my logcat is here:
    http://pastebin.com/rjyffJMn
     
  6. MalachiteBR

    MalachiteBR

    Joined:
    Jun 21, 2013
    Posts:
    22
    No answer for more than 1 year ?!