Greetings, I’m trying to integrate Google Play Services into my game, and while the login works just fine, nothing related to the leaderboards seems to be working. I cannot report a new high score, and I cannot open the leaderboard UI.
I’m currently using the 11.01 version of the Google Play Services and I have already configured the GDP IDs correctly.
I tried both building an APK and downloading the game from the store, but none works. I have also looked for solutions online but none have worked for me.
Show Leaderboards Script:
public void OpenLeaderboards()
{
if (GameManager.instance.services.cloudEnabled)
{
Social.ShowLeaderboardUI();
}
}
Report Score Script:
Social.ReportScore(GameManager.instance.dodgeHighScore, GPGSIds.leaderboard_dodge_mode, (bool success) => {
debugTxt.text = success.ToString();
});