Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hey cursedcrocodile!

Have you checked whether the account you logged into is set to public? When I was testing the plugin, I had to manually set my account to public so my score would show on the leaderboard.

Yes, of course

Player profile: public and accessible

Distribution: Google Play Internal Testing

Build type: Release AAB installed from Google Play Store

Play Games Services: enabled and published

Authentication: working correctly

Leaderboard display: working correctly, leaderboard loads successfully but is empty

App package name, Play Games Services application ID and OAuth Android client fingerprint are the same both on the game and on Google Play Services.


Problem

When the game ends and I submit a score to the leaderboard, the submission fails.


Relevant logs:

08-05 22:34:09.363 I/godot (10916): [GPGS DEBUG] clients ready: sign_in=true achievements=true leaderboards=true snapshots=true

08-05 22:34:09.363 I/godot (10916): [GPGS DEBUG] initialize completed. signed_in=true

08-05 22:34:09.363 I/godot (10916): [GPGS DEBUG] plugin ready for action 'Submit leaderboard score'

08-05 22:34:09.363 I/godot (10916): [GPGS DEBUG] signed-in check passed for action 'Submit leaderboard score'

08-05 22:34:09.363 I/godot (10916): [GPGS DEBUG] forwarding submit_score to leaderboards_client

08-05 22:34:09.364 I/godot (10916): [47141 ms] Leaderboard submit requested with score 10

08-05 22:34:09.364 I/godot (10916): [47142 ms] Game over from Screens scene

08-05 22:34:11.360 I/godot (10916): [GPGS DEBUG] score_submitted callback. is_submitted=false leaderboard_id=MyIdOnGPS

08-05 22:34:11.361 E/godot (10916): GPGS error: Submit leaderboard score failed for 'MyIdOnGPS'. Check that the leaderboard ID exists, is testable/published, and belongs to this game service.

08-05 22:34:11.361 I/godot (10916): [GPGS DEBUG] set_error invoked


What I have already checked:

The Google Play Games profile is public.

Authentication succeeds (signed_in=true).

The leaderboard exists and is published.

The app is installed from Internal Testing as a release build.

The Play Console configuration appears correct:

package name and application ID are OK

OAuth Android client with the expected fingerprint

The leaderboard ID used in code matches the one from the Play Console.

I set an achievement and it worked like a charm.

Issue remains only for submit leaderboard score

Then try these fixes:

  1. Check the leaderboard settings in Play Console. If you enabled any extra option I didn’t cover in the video, try disabling it and testing again.
  2. Make sure the submitted score format matches the leaderboard type. For Time leaderboards, Google expects milliseconds, so 10 seconds should be submitted as 10000, not 10.
  3. As a last test, create a fresh leaderboard in the same Play Games Services project, publish it, and try that new leaderboard ID.

If none of that fixes it, I’ll issue you a refund.

(1 edit)

I solved the problem. One of the two credentials in Play Games Services was still in draft and unpublished. This caused an UNAUTHENTICATED error before submitting the score.  Now works. thanks

Okay, I'm glad it's fixed 😁