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
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:
Download TappyChicken from google play
Play online and get a high score (1 is enough)
Quit game and uninstall it (remove the save game files from your devices using a file manager as well to be sure)
reinstall tappychicken and start
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!
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)
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).
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.
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?