[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.4KViews1like2CommentsLeaderboard / Achievement Testing
I'm probably asking a repeat question here. In the event this matches a similar ask - then there must be an answer. Scenario: I have integrated META Platform SDK into my VR App being developed in Unity Engine. 1. Latest Platform SDK integrated in App check 2. Leaderboard Setup including setup in Unity check 3. Test users created check 4. Test from Editor check and validated 5. Signed in with test user account on Quest2 Device check 6. Build to device using Android 12 API level 32 check 7. Leaderboard score test on device (FAILED!!!!!!!!!!!!!) Can someone tell me what I am missing please 🙂3.6KViews0likes1CommentSubscription API Test Fail
Hi, I am unable to test IAPs. I have followed this guide https://developers.meta.com/horizon/documentation/unity/ps-iap-test My organisation is verified, I have a test user, which can be granted test add-ons. And I can consume them using the API on my server. However, I have tried multiple times to buy a subscription through the horizon mobile app, logged in as the test user. I used the card details provided in the documentation above, and also added the cards using the test user menu "manage test cards" modal. I always get the same message, in the test menu and in the mobile app purchase. Not sure what to try next.2.8KViews0likes2CommentsCannot get a list of user's friends in a build
Users. is not firing the callback in a build. When we run the game in the Unity Editor, everything works as expected. The editor uses the AppId of the Rift version of the app while the build is running on the headset directly and using the AppID of the Quest version of the app. - Data Use Checkup is all good and everything is allowed for the app (Quest App). - We are using Users.GetLoggedInUser() just fine in the build to get the user's username. - All the user's friends have launched the game and are also in the app. Why is the callback not being fired in a build? Any help is appreciated. Below is the code for the function I am calling. "HERE GetLoggedInUserFriends" is printed but none of the other logs are printed which means the callback is never fired. public void GetLoggedInUserFriends(Action<List<User>> onSuccess, Action<Error> onError = null) { Debug.Log("HERE GetLoggedInUserFriends"); Users.GetLoggedInUserFriends().OnComplete(msg => { if (msg.IsError) { Error error = msg.GetError(); Debug.LogError($"[{nameof(GroupPresenceManager)}] Failed to get LoggedInUser Friends: {error.Code} - {error.Message}"); onError?.Invoke(error); } else { Debug.Log($"[{nameof(GroupPresenceManager)}] Got LoggedInUser Friends successfully."); List<User> users = msg.Data.ToList(); onSuccess?.Invoke(users); } }); }Solved817Views0likes1CommentPurchase.ReportingId field is empty after a successful payment
The "Purchase.ReportingId" field is blank after a successful payment, but for us this is a problem because we need this field to be able to attach the purchase to our own users, the question is, is this field left blank because we used a test user with an application that is not currently released? If we try this with an App Lab released app, will the contents of the "Purchase.ReportingId" field be available to us? We don't want to release the app with no guarantee that the ReportingId field will be filled, we want to avoid any potential problems340Views0likes0Comments[Unreal 5] Leaderboards are not readable
Hello, I am currently trying to implement a simple Leaderboard system. The problem is that the Leaderboard in the Meta Developer Hub doesn't get populated with new entries. I followed this tutorial on the meta documentation. I have: - An approved DUC for User ID, User Profile, User Age Group and Friends - installed and activated the Platform SDK Plugin (version 1.89.0) - Adjusted the DefaultEngine.ini - a GameInstance which handles a "Start Message Pump" and an Entitlement Check (Which runs successfully installed as .apk in the Quest) - a signed App - a version on the Meta Developer Hub in all distribution channels The Entitlement Check works on a built game installed on the Quest. Unfortunately, it's not in the Engine with VR Preview. It seems that Leaderboards calls in the built game are successful, at least that's what the boolean output says. I repeatedly get this debug message in the MQDH when the game runs On the Quest 3: Unable to load OVRMrcLib I also got messages that the call to the Leaderboards are successful, followed by an error that the Leaderboard is null. This is my Blueprint Code to get and write to a Leaderboard: I'm a bit lost at the moment. I've tried to add extra Write and Read External android permissions, add an Android.Engine.ini declaring to use the Oculus subsystem and some solutions from the internet, but unfortunately, none have worked for me. Help is much appreciated. Thank you in advance!Solved1.3KViews0likes1CommentUnreal Engine 5.0.3 Platform SDK
Hey, is there any place to access older versions of the Platform SDK for Unreal Engine 5? We just released our VR title, Kid Pilot, to Steam and were beginning the setup to release it to the Meta Store. However, we're working with Unreal Engine 5.0.3, we do have the Meta XR plugin for this engine version, but not the Platform SDK, and on the downloads page, the oldest version is 56.0, for UE 5.2.1 Any help towards finding where the older versions of the SDK can be found would be greatly appreciated.681Views0likes0CommentsCompatibility issue between Oculus Subsystem and MetaXR Platform
Using an unreal engine built from source and using the MetaXR v1.91, enabling both Oculus Subsystem Oculus and MetaXR Platform plugins at the same time in any project breaks compilation, causing link issues on the OVRPlatform library. Are there any known solution for this? example logs from a blank template project: UATHelper: Packaging (Android (ASTC)): ld.lld: error: undefined symbol: ovr_ApplicationInviteArray_GetSize UATHelper: Packaging (Android (ASTC)): >>> referenced by OVRPlatformCppPageRequests.cpp:152 (./../Plugins/MetaXRPlatform/Source/OVRPlatform/Private/OVRPlatformCppPageRequests.cpp:152) UATHelper: Packaging (Android (ASTC)): >>> OVRPlatform/Module.OVRPlatform.3.cpp.o:(OvrPlatform_ApplicationInvitePages_GetPageEntries(FOvrApplicationInvitePages const&, TArray<FOvrApplicationInvite, TSizedDefaultAllocator<32> >&)) UATHelper: Packaging (Android (ASTC)): >>> referenced by OVRPlatformModels.cpp:1896 (./../Plugins/MetaXRPlatform/Source/OVRPlatform/Private/OVRPlatformModels.cpp:1896) UATHelper: Packaging (Android (ASTC)): >>> OVRPlatform/Module.OVRPlatform.3.cpp.o:(UOvrApplicationInvitePagesMethods::ApplicationInvitePages_GetSize(FOvrApplicationInvitePages const&)) UATHelper: Packaging (Android (ASTC)): >>> referenced by OVRPlatformPageRequests.cpp:219 (./../Plugins/MetaXRPlatform/Source/OVRPlatform/Private/OVRPlatformPageRequests.cpp:219) UATHelper: Packaging (Android (ASTC)): >>> OVRPlatform/Module.OVRPlatform.4.cpp.o:(std::__ndk1::__function::__func<UOvrPageRequestsBlueprintLibrary::FetchApplicationInvitePage(UObject*, EOvrForwardArrayIteratorInputPins const&, EOvrPageRequestOutputPins&, FLatentActionInfo, FOvrApplicationInvitePages const&, TArray<FOvrApplicationInvite, TSizedDefaultAllocator<32> >&, bool&, FString&)::$_10, std::__ndk1::allocator<UOvrPageRequestsBlueprintLibrary::FetchApplicationInvitePage(UObject*, EOvrForwardArrayIteratorInputPins const&, EOvrPageRequestOutputPins&, FLatentActionInfo, FOvrAppl icationInvitePages const&, TArray<FOvrApplicationInvite, TSizedDefaultAllocator<32> >&, bool&, FString&)::$_10>, unsigned long ()>::operator()()) UATHelper: Packaging (Android (ASTC)): >>> referenced 1 more times UATHelper: Packaging (Android (ASTC)): ld.lld: error: undefined symbol: ovr_ApplicationInviteArray_GetElement UATHelper: Packaging (Android (ASTC)): >>> referenced by OVRPlatformCppPageRequests.cpp:156 (./../Plugins/MetaXRPlatform/Source/OVRPlatform/Private/OVRPlatformCppPageRequests.cpp:156) UATHelper: Packaging (Android (ASTC)): >>> OVRPlatform/Module.OVRPlatform.3.cpp.o:(OvrPlatform_ApplicationInvitePages_GetPageEntries(FOvrApplicationInvitePages const&, TArray<FOvrApplicationInvite, TSizedDefaultAllocator<32> >&)) UATHelper: Packaging (Android (ASTC)): >>> referenced by OVRPlatformModels.cpp:1886 (./../Plugins/MetaXRPlatform/Source/OVRPlatform/Private/OVRPlatformModels.cpp:1886) UATHelper: Packaging (Android (ASTC)): >>> OVRPlatform/Module.OVRPlatform.3.cpp.o:(UOvrApplicationInvitePagesMethods::ApplicationInvitePages_GetElement(FOvrApplicationInvitePages const&, long long)) UATHelper: Packaging (Android (ASTC)): >>> referenced by OVRPlatformPageRequests.cpp:223 (./../Plugins/MetaXRPlatform/Source/OVRPlatform/Private/OVRPlatformPageRequests.cpp:223) UATHelper: Packaging (Android (ASTC)): >>> OVRPlatform/Module.OVRPlatform.4.cpp.o:(std::__ndk1::__function::__func<UOvrPageRequestsBlueprintLibrary::FetchApplicationInvitePage(UObject*, EOvrForwardArrayIteratorInputPins const&, EOvrPageRequestOutputPins&, FLatentActionInfo, FOvrApplicationInvitePages const&, TArray<FOvrApplicationInvite, TSizedDefaultAllocator<32> >&, bool&, FString&)::$_10, std::__ndk1::allocator<UOvrPageRequestsBlueprintLibrary::FetchApplicationInvitePage(UObject*, EOvrForwardArrayIteratorInputPins const&, EOvrPageRequestOutputPins&, FLatentActionInfo, FOvrAppl icationInvitePages const&, TArray<FOvrApplicationInvite, TSizedDefaultAllocator<32> >&, bool&, FString&)::$_10>, unsigned long ()>::operator()()) UATHelper: Packaging (Android (ASTC)): >>> referenced 1 more times2.1KViews2likes5Comments