VR Tutorial

Create a Unity Project

The first step developing an application in Unity is creating a new project. Navigate to the "Projects" tab. Click New Project in the top right.

Select 3D (URP) project when prompted to select your template, and name your project in the bottom right. Click Create Project once finished. URP stands for Universal Render Pipeline and is a customizable rendering pipeline that is designed to offer optimized performance for a wide range of platforms.

Once the project has finished the initial setup, the empty base project will open.

Necessary Unity Packages

To start development for the Meta Quest 2 headset, we will need some additional packages that we will need to import. We can do this by navigating to Window -> Package Manager in the project's menu bar, which opens the "Package Manager" page.

From here select the drop down menu arrow right next to Packages: In Project at the top of the tab, and select Packages: Unity Registry. This will display packages from Unity.

First we'll need to install the XR Plugin Management package. Scroll down until you find this package and select Install. We will also need to install XR Interaction Toolkit using the same method for this package. You can verify that the additional packages were installed correctly by navigating back to Packages: In Project, where the additional packages should now be listed.

 

The XR Interaction Toolkit package provides an interaction system for creating Virtual Reality applications and provides the framework that makes 3D and UI interactions possible. The XR Plugin Management package facilitates transfer of data from the headset into Unity. For further details and additional information you can reference the documentation for the packages here: XR Interaction ToolkitXR Plugin Management.

With a new project created and set up, you are now able to begin developing your application.