Read Leaderboard Integer node not working (also reproducible on TappyChicken)

There appears to be a problem with the blueprint node: “Read Leaderboard Integer” (on Android at least not able to test on iOS). I can write to the leaderboard fine with “Write Leaderboard Integer” and show the leaderboard with “Show Platform Specfic Leaderboard Screen” however everytime I use Read Leaderboard Integer to get the current best value it always executes on the “On Failure” exit node :frowning:

This is reproducible in TappyChicken as well - it using a custom event called PollLeaderboard which calls “Read Leaderboard Integer” which also fails to retrieve the leaderboard value.

To reproduce:

  1. Download TappyChicken from google play
  2. Play online and get a high score (1 is enough)
  3. Quit game and uninstall it (remove the save game files from your devices using a file manager as well to be sure)
  4. reinstall tappychicken and start
  5. After it connects online check your best score - it’s 0 even though the leaderboard says your best score is >0

(you could also reproduce this by signing in and playing tappychicken on another device)

It would be great to get this fixed! Not only better for the end user experience if their device high score matches the leaderboard high score but also necessary to stop leaderboard high score cheating I would imagine!

Also posted here: Read Leaderboard Integer node not working (also reproducible with TappyChicken) - Blueprint - Unreal Engine Forums

This is true, it doesn’t seem to take any achievement or leaderboard values at all. Each time you start with 0 after install / uninstall (also test versions from the PC installed to your device)

Thanks for reporting this. We are now tracking this issue and it will be fixed in a future release!

Also reporting this on iOS, when I try to read an integer nothing happens. If I close the app and launch it again, then it works fine (this on the sandbox gamecenter, not tested in production yet).

This issue is now fixed for Google Play, and the fix will be included in the 4.5 release.

Great to hear! :slight_smile:

Just gave this a quick test in the 4.5 Preview and still did not appear to be working for me - (same as behavior as before) :frowning:

It seems it doen’t work for me too.
I can write values on leaderboard but i cannot read those with “Read Leaderboard” node.

I work with UE 4.5.1

Hi, i resolved this issue.
The problem is that “Read Leaderboard” nodes cannot run simultaneously. When you want to do multiple read you have to do each read one after the other and not simultaneously, otherwise only the first read will succeed.

Hope this will help other people.

I have a question about the ReadLeaderboardInteger node. Maybe someone can help me out. I have a leaderboard in my mobile game working, and I’m confused as to how to get information from it. This ReadLeaderboardInteger says to enter a stat name and I’m not exactly sure what that means.

If my Leaderboard is called “HighScore” and I want to get the top score int, or the current player’s top score int from that leaderboard, how would I go about doing that?

Thank you

Many thanks for working that out and posting it dremecker!! Epic should update the TappyChicken example so this is easier to figure out :smiley:

Super old thread, but is this fixed? Do we still have to ensure we’re only reading the leaderboard once at a time?