I’ve noticed that at some point this week, my posting of scores to my Google Leaderboard has stopped working. I’ve been building to my local phone as well as installing from my developer console internal test track and in both instances, my scores are not appearing under the ‘today’ part of the leaderboard.
I can login to google play services and I can unlock achievements, I can open and view my leaderboard, but for whatever reason the scores are not displaying. My code is relatively simple:
public void PostScore()
{
Social.ReportScore(currentStreak, "([I]my leaderboard ID[/I])", (bool success) => {
// handle success or failure
Debug.Log("Score posted to leaderboard");
});
currentStreak = 0;
PlayerPrefs.SetInt("CurrentStreak", currentStreak);
Debug.Log("Current streak set to 0");
}
When I open logcat and check the logs I am seeing the “Score Posted to Leaderboard” debug log appear, which to me implies that this reporting has happened successfully, yet the score is not displaying.
Is there just a massive delay currently, or has something changed for this to be impacted? I swear the integration to GPS remains the most frustrating thing in the world to achieve, to the point where I may not even consider doing it anymore going forward. Not sure if its a pre-requisite for IAP via the Unity package?? Anyway, any pointers greatly appreciated.