This topic describes how to set up your development environment to build Oculus apps in Unity. It contains information about hardware and software requirements, setting up Oculus devices, and installing Unity Editor and other necessary tools.
Minimum System Requirements:
The following requirements are applicable to both, Oculus Rift and Oculus Rift S, unless otherwise stated:
For more information about detailed specifications, go to Oculus Rift and Oculus Rift S minimum requirements support page.
Operating System (any one):
For detailed setup instructions and troubleshooting, go to Getting started with your Oculus Quest support page.
You need to connect Oculus Rift and Oculus Rift S to your computer over USB and display interfaces. For detailed setup instructions and troubleshooting, go to Getting started with your Oculus Rift and Getting started with Oculus Rift S support pages.
Unity Editor versions, whether free or professional, support Windows and Android development. If you are just getting started as a Unity developer, we recommend spending time learning the basics with Unity’s documentation and tutorials.
The minimum supported Unity version for Oculus app development is 2019.4 LTS. We recommend using the minimum supported Unity version or higher.
We have condensed Unity installation steps below. However, for detailed information about the Unity installation process, go to Installing Unity in Unity documentation.
To install Unity:
Unity Hub is an installation assistant that makes the installation process easy. In addition to Unity, to build and run Android apps, you must install the Android Build Support module, Android Software Development Kit (SDK) and Native Development Kit (NDK), and OpenJDK. Unity 2019.x and higher versions let you install the necessary Android tools during the Unity installation.
In case, you’ve already installed Unity without Android support, you can still add Android tools from Unity to any existing Unity 2019.x versions.
After you’ve installed Unity, create a fresh project to get started with the rest of the settings and app development.
After you’ve created the project, Unity adds it to Unity Hub. To open an existing Unity project, open Unity Hub, and click the project name.
If you’re using Unity version 2019.x and later, Unity automatically maps Android SDK and NDK. However, if you’re using Unity version 2018.x and prior, the first time you build an Android project in Unity, you need to locate the Android SDK folder.
To map or change the location of the Android SDK in Unity: