How do we disable entitlement checks on GearVR

For our GearVR app, we’re getting the following error:

E/OVREntitlementChecker( 4286): Automated entitlement check failure: ENTITLEMENT_FAIL_DETAIL_NOT_ENTITLED

How can we disable entitlement checking on the GearVR? I know entitlement checking was just enabled for the GearVR in 4.9. We just want to turn it off for now. We didn’t see anywhere obvious in Project Settings. Any help would be greatly appreciated.

Thanks!

Hi Stanleykwong -

Can you confirm that your osig file is correctly setup for me, as listed on this page:

https://docs.unrealengine.com/latest/INT/Platforms/GearVR/Prerequisites/index.html

Thank You

Eric Ketchum

Nick pointed us to the line of code we needed to comment out:
OVREntitlementChecker.doAutomatedCheck(this);
that was in:
Engine\Build\Android\Java\src\com\epicgames\ue4\GameActivity.java
That seems to have fixed it for us.

Thanks,