UE5.3.2 oculus MetaXRPlatform Entitlement check doesn't work. Crashes and returns no data.

Hey friends,

I’m trying to perform the Entitlement check on my Unreal engine 5.3 Meta Quest project. I intend that the project be uploaded to the App lab and live on the quest store. For this to happen, I must perform an entitlement check.

Using the Unreal Engine 5.3.2 Meta Fork:

Downloaded from here https://github.com/Oculus-VR/UnrealEngine

and installed and compiled painstakingly over (for my computer) 4-6 hours.

Once I compiled the version I got from the link above, it was missing the MetaXRPlatform. I tried to install the MetaXRPlatform plugin like I did by putting it in the plugins/Marketplace folder but that didn’t work for me.

I copied the code from the MetaXRPlatform into the Unreal Engine fork and recompiled it. Then I needed to recompile my project. After many hours, it worked! My project was back in business.

I’m at the stage where I have to perform the entitlement check. No matter what I do, the check itself crashes. Does anyone know why, or has anyone encountered this before?

This is the error I get in the adb log:
10:54:26.160 2125 2591 E ExternalPlatformLocal: AppID found in Library(6668891498801123) does NOT match the appID in the bundle([6668891498801123]).
10:54:26.163 2125 2591 E EntitlementCheckResultBuilder: ResultBuilder error has been set to: user does not have app in library
10:54:26.163 2125 2591 E EntitlementCheckResultBuilder: com.oculus.horizon.service.ExternalPlatformLocal$PackageNotInLibraryException: Package com.SACL.SomeProjectVR not in users library
10:54:26.163 2125 2591 E EntitlementCheckResultBuilder: at com.oculus.horizon.service.ExternalPlatformLocal.getAppID(:268661377)
10:54:26.163 2125 2591 E EntitlementCheckResultBuilder: at com.oculus.horizon.service.ExternalPlatformLocal.getAppID(:536870914)
10:54:26.163 2125 2591 E EntitlementCheckResultBuilder: at com.oculus.horizon.service.result.ResultBuilder.A00(:1648)
10:54:26.163 2125 2591 E EntitlementCheckResultBuilder: at X.1RT.A00(:6)
10:54:26.163 2125 2591 E EntitlementCheckResultBuilder: at com.oculus.horizon.service.OVRService$4.getEntitlementCheckBundle(:19)
10:54:26.163 2125 2591 E EntitlementCheckResultBuilder: at com.oculus.aidl.OVRServiceInterface$Stub.onTransact(:110)
10:54:26.163 2125 2591 E EntitlementCheckResultBuilder: at android.os.Binder.transact(Binder.java:1064)
10:54:26.163 2125 2591 E EntitlementCheckResultBuilder: at com.facebook.secure.ktx.service.IdentityCheckingBinder.onTransact(:11)
10:54:26.163 2125 2591 E EntitlementCheckResultBuilder: at android.os.Binder.execTransactInternal(Binder.java:1179)
10:54:26.163 2125 2591 E EntitlementCheckResultBuilder: at android.os.Binder.execTransact(Binder.java:1143)
10:54:26.164 2125 2591 E com.oculus.platform.util.Util: operation failed
10:54:26.164 2125 2591 E com.oculus.platform.util.Util: com.oculus.horizon.service.ExternalPlatformLocal$PackageNotInLibraryException: Package com.SACL.SomeProjectVR not in users library
10:54:26.164 2125 2591 E com.oculus.platform.util.Util: at com.oculus.horizon.service.ExternalPlatformLocal.getAppID(:268661377)
10:54:26.164 2125 2591 E com.oculus.platform.util.Util: at com.oculus.horizon.service.ExternalPlatformLocal.getAppID(:536870914)
10:54:26.164 2125 2591 E com.oculus.platform.util.Util: at com.oculus.horizon.service.result.ResultBuilder.A00(:1648)
10:54:26.164 2125 2591 E com.oculus.platform.util.Util: at X.1RT.A00(:6)
10:54:26.164 2125 2591 E com.oculus.platform.util.Util: at com.oculus.horizon.service.OVRService$4.getEntitlementCheckBundle(:19)
10:54:26.164 2125 2591 E com.oculus.platform.util.Util: at com.oculus.aidl.OVRServiceInterface$Stub.onTransact(:110)
10:54:26.164 2125 2591 E com.oculus.platform.util.Util: at android.os.Binder.transact(Binder.java:1064)
10:54:26.164 2125 2591 E com.oculus.platform.util.Util: at com.facebook.secure.ktx.service.IdentityCheckingBinder.onTransact(:11)
10:54:26.164 2125 2591 E com.oculus.platform.util.Util: at android.os.Binder.execTransactInternal(Binder.java:1179)
10:54:26.164 2125 2591 E com.oculus.platform.util.Util: at android.os.Binder.execTransact(Binder.java:1143)