VR Tutorial

A comprehensive guide on how you can start developing VR applications for Meta Quest VR devices

Oculus Download

Let's get started by downloading some software that we will need for development. (All screenshots, used below are taken from our own devices).

In order to connect the VR headset to your PC, you first need to download the Oculus software. To begin downloading the Oculus software, navigate to the Quest setup on Meta's website found here: Meta Quest Setup. Scroll down to the Oculus Rift S setup section and click Download Software.

Oculus Software Download

 

This will download "OculusSetup.exe" to your device. Open this file to execute the setup for the Oculus software. Your device will ask if you want to allow Oculus to make changes to your device. Click Yes to allow Oculus to make changes. This will open the "Welcome to Oculus" page. Click Get Started to begin the setup of the software.

Welcome to Oculus Page

 

This will move to the "Review Terms and Conditions" page. You can read through the Oculus "Privacy Policy" and "Terms of Service" if you choose. Click Agree to confirm that you agree to these, which must be done to install Oculus.

Oculus Review Terms and Conditions

 

This will move to the "Install Oculus Software" page. You can select the folder location for Oculus. Click Install Now to begin installation of the Oculus Software. The progress of the installation will be shown in a progress bar, with details on the amount of Bytes installed currently and total amount of Bytes, as well as the installation rate in Megabytes per second. The installation process may take several minutes.

Oculus Install

Oculus Installing

 

Once the installation is complete, this will move to the "Installed" page. Click Next to create an Oculus account or log in.

Oculus Installed

 

On this page, you can create the account with any of the three provided methods or you can log in to an existing Oculus account. Selecting to create a new account will launch a web browser where you can enter your information.

Oculus Meta Sign In

 

Once you are signed in, the Oculus software will open to the homepage. With the Oculus software downloaded, you are able to connect your device to your VR headset if your device meets the requirements found in the "Headset Link" section of this guide.

Unity Hub & Unity Editor Download

To get started with working in Unity, you need to install Unity Hub and Unity Editor. To begin downloading the Unity software, navigate to Unity's download website found here: Unity Download. Click Download for Windows. The download will begin and the website will give you the option to use Unity's free online courses, which can be done by clicking Start Learning. Using these courses is completely optional for our purposes but can be extremely useful for improving your development in Unity.

Unity Download


- This will download "UnityHubSetup.exe" to your device. Open this file to execute the setup for the Unity Hub software. Your device may ask if you want to allow Unity to make changes to your device. Click Yes to allow Unity to make changes. This will open the "License Agreement" page. You can read through the Unity "Terms of Service" if you choose. Click I Agree to confirm that you agree, which must be done to install Unity.

Unity Terms of Service


- This will move to the "Choose Install Location" page. You can select the folder location for Unity Hub. Click Install to begin installation of the Unity software. The progress of the installation will be shown in a progress bar. The installation process may take several minutes. Click Next to continue once the progress bar is full.

Unity Install

Unity Installing

 

- Once the installation is complete, this will move to the "Completing Unity Setup" page. Select Run Unity Hub so that the box is checked. Click Finish to close the setup and open Unity Hub.

Complete Unity Setup

 

- When Unity Hub opens, click Sign In if you have a Unity account or Create Account if you do not have a Unity account on the "Welcome to Unity Hub" page. Both options will launch a web browser where you can enter your information. Once you are signed in, accept the browser's request to move to Unity Hub.

Welcome to Unity

 

- This will move to the "Install Unity Editor" page. You can select the folder location for Unity Editor, which should be in the Hub folder. Click Install Unity Editor to begin the installation. The progress of the installation will be shown in a progress bar, with details on the three components of the installation. Your device may ask if you want to allow Command Prompt to make changes to your device. Click Yes to allow Command Prompt to make changes. The installation process may take several minutes.

Install Editor

Installing Editor

Once the Unity version has finished installing, the Installs tab will update.

 

- From here you will need to install some modules that you will need for Meta Quest Development. Click on the Gearhead icon to the right of your Unity version in the Installs tab. The first item listed is Dev Tools, and underneath that is Visual Studio. This is an IDE or integrated development environment that allows users to implement code to your program. This tutorial is meant to be simple enough for users of all disciplines, so we will not go too deep into the details, but users that wish to implement more complex applications can get more details here: Visual Studio C# Tutorials.

The next listed section is Platforms and beneath that there many items listed. Select Android Build Support as well as it’s sub modules OpenJDK and Android SDK & NDK Tools. We will also need Windows Build Support (IL2CPP). If you would like to develop your app for any Windows 10 device, you can also select the Universal Windows Platform Build Support. After selecting your modules, you will need to accept the terms and conditions before the installation will begin. If you have previously already installed Unity without these components, you can add them later by clicking the gear icon and clicking Add Modules. The Meta Quest 2 headset is actually an Android device so you will need these modules.

 

- You have now set up Unity for VR development.