play-games-plugin-for-unity icon indicating copy to clipboard operation
play-games-plugin-for-unity copied to clipboard

ReportScore sends "success" to callback with invalid leaderboard ID

Open toxikman opened this issue 1 year ago • 0 comments

Describe the bug Calling PlayGamesPlatform.Instance.ReportScore(score, leaderboardID, callback) with leaderboardID that does not exist in Google Play Console configuration will send True (success) to the callback, implying that the call was successful.

To Reproduce Do the thing I described above. Honestly I don't really want to spend time writing this stuff because I don't think there's any staff at Google right now allocated to this project. There are 700 open bugs on GitHub at the time of posting this.

Expected behavior The callback should be passed False because the leaderboard is non-existant. The GPGS plugin for Unity should wait and make sure the leaderboard was actually updated before passing a result on to the callback.

Observed behavior The callback is passed True even when the leaderboard does not exist and the score is not actually updated.

Versions

  • Unity version: 2021.3.23f1
  • Google Play Games Plugin for Unity version: 0.11.01

toxikman avatar Apr 27 '23 22:04 toxikman