cancel
Showing results for 
Search instead for 
Did you mean: 

Entitlement check not running on device because of "DllNotFoundException: ovrplatformloader"

msivert
Honored Guest
Everything is working smoothly in our app, and we are trying to submit it to the Oculus Store - but what's stopping us now is that we're unable to get entitlement checking to work properly. Looking into logcat, we see the following when sideloading the app and running it on our Android device: 

11-28 23:27:18.215  1272  1294 E Unity   : Unable to find ovrplatformloader
11-28 23:27:18.359  1272  1294 I Unity   : DllNotFoundException: ovrplatformloader
11-28 23:27:18.359  1272  1294 I Unity   :   at (wrapper managed-to-native) Oculus.Platform.CAPI:ovr_UnityInitWrapper (string)
11-28 23:27:18.359  1272  1294 I Unity   :   at Oculus.Platform.AndroidPlatform.Initialize (System.String appId) [0x00000] in <filename unknown>:0
11-28 23:27:18.359  1272  1294 I Unity   :   at Oculus.Platform.Core.Initialize (System.String appId) [0x00000] in <filename unknown>:0
11-28 23:27:18.359  1272  1294 I Unity   :   at OculusEntitlementCheck.Start () [0x00000] in <filename unknown>:0

We're running Unity 5.6.2f1 with the Oculus Utilities package and OVR 1.14.1

What's going on here? Any pointers on resolving this would be greatly appreciated, as this seems to be the only thing stopping us from having our app approved and launched.
3 REPLIES 3

Claytonious
Protege
Select /Plugins/Android/libs/armeabi-v7a/libovrplatformloader.so in your project and look at the inspector. Make sure the "Android" platform is checked. Either this .so is missing from your project or it's not set to be included in your Android builds.

WahooDevColton
Honored Guest
@Claytonious I am also getting this now, but the Android box is checked on the .so file. How do I check to see if it is being included?

PaulAtWarp
Protege
For me, the solution was to switch the build target to ARM64.