Forum Discussion
GRINKE
7 years agoExplorer
UE4 Leaderboards in Blueprint
I'm trying to implement a simple leaderboard. I can write and read a value but I can't see how to pass an array to ReadLeaderboardInteger node in UE4 4.21. Is this really possible? The node only takes a Player Controller and a Stat Name as inputs. Additionally I can't see how to read the names in a leaderboard with blueprints. It seems like the UE4 leaderboard blueprints rely on ShowPlatformSpecificLeaderboardScreen to display all of this information, but that isn't supported on Oculus Go.
From the documentation at https://developer.oculus.com/documentation/platform/latest/concepts/dg-cc-leaderboards/
"Add the Read Leaderboard Integer node. There are 2 ways to query the leaderboard using this node. Pass an array of a single entry, the current user’s id, to retrieve the user’s rank on the leaderboard. Passing an empty array will return the top 100 players on the leaderboard."
From the documentation at https://developer.oculus.com/documentation/platform/latest/concepts/dg-cc-leaderboards/
"Add the Read Leaderboard Integer node. There are 2 ways to query the leaderboard using this node. Pass an array of a single entry, the current user’s id, to retrieve the user’s rank on the leaderboard. Passing an empty array will return the top 100 players on the leaderboard."
5 Replies
- GRINKEExplorerMy question above stands but in case anyone else is struggling with this I've just discovered the Oculus UE4 sample which seems to have some leaderboard code in it per this thread: https://forums.oculusvr.com/developer/discussion/comment/650579#Comment_650579
- GRINKEExplorerNow I'm stuck with an error "Failed to initialize Oculus Platform SDK. Failure code -5"
- Mohammed_hashimStart Partner
GRINKE said:
Now I'm stuck with an error "Failed to initialize Oculus Platform SDK. Failure code -5"
Hey, did you able to implement leaderboard on your project? i'm struggling with this since few weeks and since i don't know any C++ i wonder if you able to make it work on your end. i don't know how to get top 10 but the most important thing i can't find a way to get my current rank based on this sample project. - GRINKEExplorerNo. I got VerifyEntitlement to work but GetOculusIdentity never fires the Success or Failure pins. Did anyone else get past this?
- ApprovedAnonymous
same sh@@)) c++ only?
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 11 months ago
- 1 month ago
- 2 months ago