Leaderboard Entries Working But User IDs Are Blank
Running a project with Unity v2018.4.16f1 Windows Standalone 64-bit, using VRTK and the Oculus Integration package, Oculus Utilities v1.52.0, OVRPlugin v1.52.1, SDK v1.55.0. Also has the Oculus Desktop package in at version 1.38.4, which is necessary for XR Settings>Virtual Reality Supported, but it doesn't seem to cause a conflict and behavior doesn't change if I just go delete the DLLs out of the package and restart Unity just to be sure the DLLs reloaded. I've got several leaderboards set up on the dashboard. I can call Core.Initialize with my App ID and it calls back as a success with no error. I can submit scores to the various leaderboards via Oculus.Platform.Leaderboards.WriteEntry() no problem. And when I call Oculus.Platform.Leaderboards.GetEntries() I can get each leaderboard's list of LeaderboardEntry objects, which come back with the correct rank, score, and ExtraData just fine. But each entry's User value in the list is a default struct, its values are all empty strings, zeroed out, or null. This lets me display the leaderboards, but none of the usernames on those leaderboards. I can't even check to see whether the user's own ID is on there because they're all 0s. There are no errors in the log related to this. Any ideas how to debug this? Is there some setting on the dashboard I missed?3.1KViews3likes6Comments[Unity][PlatformSDK][Leaderboards] Missing entries in query response (GetEntries/HTTP GET)
Hi there, Our new Unity game for Oculus Quest implements Oculus leaderboards using the Platform SDK from the Oculus Integration Unity asset, and it's been submitting and getting highscores just fine until now : we completed the data use checkup in the dev dashboard, and as for the Unity project the Oculus SDK is properly initialized, the user entitlement check passes, highscores are successfully submitted using Oculus.Platform.Leaderboards.WriteEntry(apiName, score, extraData), and leaderboards top and user-centered entries were successfully retrieved using Oculus.Platform.Leaderboards.GetEntries(apiName, 3, Oculus.Platform.LeaderboardFilterType.None, Oculus.Platform.LeaderboardStartAt.Top) and Oculus.Platform.Leaderboards.GetEntries(apiName, 3, Oculus.Platform.LeaderboardFilterType.None, Oculus.Platform.LeaderboardStartAt.CenteredOnViewer) for them to be displayed in game. Now that we are live on App Lab, we are experiencing issues in querying some of our leaderboard entries : some specific users' entries simply don't show up in the API's response, neither in the Oculus.Platform.Leaderboards.GetEntries callback data nor in the response to a HTTP GET request to the https://graph.oculus.com/leaderboard_entries endpoint, even though I can see in the developer dashboard, in the Oculus iPhone app and in my Quest's home menu that the entries do exist in the leaderboards... Is anyone else experiencing something similar? Could it be some entries filtering going on under the hood? Or could my leaderboard entries extra data be messing with something? Thanks in advance for the help.Solved2.5KViews1like2CommentsLeaderboards stopped working for some players
Hi everyone A few days ago, some users started reporting that they couldn't run the game. The problem was that the ovr_User_GetLoggedInUser function was failing. We managed to get rid of the use of this function, but unfortunately, after the update, exactly the same users reported that their leaderboards were not working. We did not have requested any user data in the Data Use Checkup section, so we requested User ID, User Profile, and Friends. Unfortunately, the problem still did not improve after receiving approval. One user has this problem on both Quest 1 and Quest 2. It looks like the problem is specific to specific users. Does anyone know what it could be and how can it be fixed? We use Unreal Engine Version: 4.24.3-0 +++ UE4 + Partner-Oculus-4.24, OVRPlugin: 1.50.0 The said user uses Version: 23.0.0.87.517.260511599 Runtime Version: 23.0.0.87.517.260511615 Thanks for the help! Tomek2.4KViews1like5Comments