Unity Prep

NOTE: It is advised that once you have finished these steps, take the Assets, Project Settings, and Packages folder and zip them together so you have a base Project you can use for future Quest development.

Project Version

At the time of writing, I am favoring 2018.4 LTS (Long-Term Supported) for it’s stability and will be using it for this guide. Later versions are most likely fine however as the basic settings will most likely stay the same for some time. When downloading the Unity Version, you only need Android Build Support.

Build Settings

Project Settings > Player Settings > Other Settings

Project Settings > Player Settings > XR Settings

Project Settings > Quality

Things To Know (Will expand with future comments)

Unity Terrain can cause Oculus Quest builds to crash

Remember to use World Space canvas for any UI as Overlay is usually not seen on builds

VRTK has a tendency to occasionally not work for Oculus Quest and keep the screen black

If you are using an Internet Connection in your application, make sure to set your “Internet Access” to “Require” or else your connection code may not work.

ADB Prep and General Android Settings

ADB or the Android Debug Bridge is how we can get Unity builds on to the Quest without any hassle.

Download Android Studio

https://developer.android.com/studio/install

Go to the SDK Manager

Install the Following Android SDK’s

Install the Following Tools

Download ADB from the Oculus Site

https://developer.oculus.com/downloads/package/oculus-go-adb-drivers/

Install ADB to your System

Go to the Oculus App on your Phone and turn on Developer Mode

Connect to your PC with the Oculus Quest charger

Put on your headset and allow your computer to access the files on the Quest.

Use the Command Terminal to start ADB

Run the following command in your terminal (may be different for other users):

cd C:\\Users\{Your User}\AppData\Local\Android\SDK\platform-tools

Then run

adb devices

This will begin searching for your Quest. You will know it works when it shows a device when you run the above command.

Set your Default Device in Unity

If you have followed all the steps, then you should be able to refresh your devices and see your Quest

From there, you can do “Build And Run” to make your Project automatically run on your Quest.