The site has a new content architecture. We've added the ability to select your development device to show device-specific content. Please read our blog post Oculus Developer Center Update: Device-centric Documentation Architecture for more information.
All Oculus Quest developers MUST PASS the concept review prior to gaining publishing access to the Quest Store and additional resources. Submit a concept document for review as early in your Quest application development cycle as possible. For additional information and context, please see Submitting Your App to the Oculus Quest Store.
This guide describes initial setup of the Oculus Unity Integration and building Oculus apps using Unity’s first-party support.
Free and Professional versions of Unity Editor support both PC and Android development. VR support is enabled by simply checking a checkbox in Player Settings.
See the recommended versions of the Unity Editor on the Compatibility and Version Requirements page.
To supplement Unity’s built-in VR support, Oculus offers the Oculus Integration for Unity which includes scripts, prefabs, and other resources. The package includes an interface for controlling VR camera behavior, a first-person control prefab, a unified input API for controllers, advanced rendering features, object-grabbing and haptics scripts for Touch, debugging tools, and more.
You’ll need to use an instance of OVRManager in your project to get your application running on Oculus Quest with 6-DOF mode. After switching the Platform to “Android”, you will see a “Target Devices” section on the top of the inspector of the OVRManager component. Switch the only element from “Gear Vr Or Go” to “Quest” to mark your app compatible with Oculus Quest. Information about OVRManager is found in the Oculus Utilities for Unity guide.
This will update the
AndroidManifest.xml with the proper headtracking flag. Information about the Oculus Quest Android manifest can be found on the Android Manifest Settings page.
The Sample Framework includes sample scenes and scripts illustrating common VR features such as locomotion, in-app media players, crosshairs, UI, interaction with Game Objects with Oculus Touch, and more. Read more about the Sample Framework.
Our Oculus Unity Getting Started Guide runs through environment setup, orientation, frequently asked questions, and basic steps necessary for creating Oculus applications in Unity.
Run through our simple Tutorial: Build Your First VR App for a quick hands-on run-through.
This guide development with Unity’s first-party support, the Oculus Unity Integration, and the Sample Framework. Unity maintains documentation of Oculus features in their Editor in the Virtual Reality section of the Unity Manual.
Most information in this guide applies equally to PC and Android development. Exceptions are indicated where they occur.
For a complete reference for the C# scripts included in Oculus Utilities for Unity, see Unity Scripting Reference.