2. Setting Up Unity XR
- Download Unity Hub here and install it.
- Open Unity Hub. Select the Installs tab and click on the
Install Editor
button. - Select a version of Unity (the latest Zoe release was tested with Unity 2019.4.0f1). Click
NEXT
. - If you plan on using an Oculus Quest, check Android Build Support; otherwise click
DONE
. The version of Unity you selected is now installing. Wait until that process is done.
Create a new Unity Project with Template: 3D (make sure you are using the version recommended for Zoe) with the name you want:
![](https://www.zoe.com/wp-content/uploads/2020/09/create-project-1024x635.jpg)
Then let’s add the necessary packages to your project which allow Unity to work with Virtual Reality headsets.
Go to Edit > Project Settings.
![](https://connect-prd-cdn.unity.com/20200831/learn/images/cd68944d-2aa9-483b-8df3-11338e624c1d_ProjectSettings.jpg.2000x0x1.webp)
A new window will pop up. Go to ‘XR Plugin Management’, at the bottom.
![](https://connect-prd-cdn.unity.com/20200831/learn/images/a1288f5d-fc72-4e08-8dac-88e19fff1be9_InstallXRplugin.jpg.2000x0x1.webp)
Click on the button to install the XR Plugin. Wait until Unity imports the package:
![](https://connect-prd-cdn.unity.com/20200831/learn/images/4beae9e8-5c38-4959-84cb-26950014a4d5_ImportingXR.jpg.2000x0x1.webp)
After importing, in the new interface select the hardware you are using for Unity to install also the necessary packages (make sure you wait until a process bar appears and everything has been imported). Here is the setting for using an Oculus Rift / Rift S:
![](https://connect-prd-cdn.unity.com/20200831/learn/images/e7751d15-97d6-4acd-a15a-d8b6cffe84ef_XRplugin_oculus.PNG.2000x0x1.webp)
Note: to use SteamVR (for HTC Vive headsets foe example) a separate plug-in needs to be installed. Check SteamVR support for more information.
Close the Project Settings window.