Preparing for Rift Development

Unity 5.1 or later offers built-in Rift support. The Oculus SDK is not required.

To enable VR support is enabled in the Unity Editor, check the Virtual Reality Supported checkbox in Player Settings. Applications targeting the PC, Mac & Linux platform in Build Settings will now run on the Rift.

Unity automatically applies position and orientation tracking, stereoscopic rendering, and distortion correction to your main camera when VR support is enabled. For more details, see Unity VR Support.

If you have already set up your Oculus Rift for regular use, you are ready to begin Unity development.

Unity development for Rift requires the Oculus App (the PC application normally installed during Rift setup). If you have not already installed it, download it from the Setup page and install it. When Unity requires the Oculus runtime, it will automatically launch the Oculus App.

You may develop Rift apps on PCs that do not meet our minimum specifications or have a Rift connected. We strongly recommend having a Rift available for development to preview your apps as you go, but it is not required as long as the Oculus App is installed.

Advanced developers may find it useful to review our Oculus SDK documentation for more insight into the rendering pipeline and underlying logic. If that interests you, we recommend Intro to VR and the PC Developer Guide for a deeper dive into core Rift development concepts.

If you are interested in submitting an application to the Oculus Store, please see our Publishing Guide. We recommend doing so before beginning development in earnest so you have a realistic sense of our guidelines and requirements.