Tech Notes: Unreal Engine Entitlement Checks

Eric CoskyBlog Hero Image
Welcome to the first post in a series of tech notes aimed at helping you develop on the Oculus platform more efficiently.
When you're ready to publish your application to the Oculus Store, you'll need to implement an entitlement check to ensure the user is authorized to view the content. This post will ensure that if you're developing with Unreal, you will pass the entitlement check step in our review process.
Entitlement checking is very simple to implement with Unreal projects thanks to the Verify Entitlement node available with Unreal Engine 4.13. It even works with Blueprint-only projects, no C++ required! To use this plugin, enable the Online Subsystem Oculus plugin, get your Application ID ready and put it in the OculusAppId entry of the [OnlineSubsystemOculus] section of the project's DefaultEngine.ini. The relevant sections of DefaultEngine.ini will look something like this:
[OnlineSubsystem]
DefaultPlatformService=Oculus
[OnlineSubsystemOculus]
bEnabled=true
OculusAppId=000000000000
To finish the configuration of the .ini file, replace the 000000000000 with your AppId, which can be found on your developer dashboard. Once these steps are completed, fire up the Unreal Editor and open the Level blueprint where you can now add the Verify Entitlement node right after the Event BeginPlay node.
In a real application, the failure case would need to be handled with something that causes the program to exit.
Unreal
Did you find this page helpful?
Explore more
Adapt your controller-first title for Meta VR Glasses
Prepare your controller-first title for Meta VR Glasses while preserving core gameplay. Learn where hands fit and how to test your experience.
All, Entertainment, Hand tracking, Quest, Unity, Unreal
Meta Quest 2 and Meta Quest Pro Reach End of Feature Development: What Developers Need to Know
Meta Quest 2 and Meta Quest Pro reach end of feature development with v213, rolling out by March 2027. Get key dates and plan your builds.
All, Apps, Entertainment, Games, Quest, Unity, Unreal
Build Faster, Earn More: How We’re Helping VR Developers Succeed on Meta Quest
New AI development tools and monetization features are coming to Meta Quest. See what we're shipping to help developers build faster and earn more this quarter.
All, Debugging, Design, GDC, Optimization, Quest, Unity, Unreal

Get the latest updates from Meta VR.

Get access to highlights and announcements delivered to your inbox.