Search Unity

Google Play Services Leaderboard not working

Discussion in 'Android' started by SirLaur, Mar 21, 2018.

  1. SirLaur

    SirLaur

    Joined:
    Jan 24, 2014
    Posts:
    22
    I have a problem implementing the Leaderboards. Login works just fine, but when I try to show the leaderboards I get :

    "Trying to show UI while waiting for a result from an existing UI. Please ensure that OnActivityResulty is forwarded to the Games C++ SDK from your Java activity. See android.suport.h for more details."

    This is my method for showing(attached on a button) :

    public void ShowLeaderboardsUI()
    {
    PlayGamesPlatform.Instance.ShowLeaderboardUI("myString");
    }

    I already added to my manifest the :

    < activity android:name="com.google.games.bridge.NativeBridgeActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen" />

    Thanks !
     
  2. iswaryapanamontech

    iswaryapanamontech

    Joined:
    Sep 11, 2018
    Posts:
    8
    same issue for me