To create and set up a project for VR, do the following:
- Open the Unity Hub application and choose the Installs tab on the left.
- Now, select the version of Unity you wish to develop your VR projects with.
- Next, add the Android Build Support modules to your application and click Done.
- Ensure that both the Android SDK/NDK Tools and OpenJDK sub-modules are checked, as shown in the following screenshot:
Figure 15.9 – Installing the Android modules with Unity Hub
- In the Unity Hub application, choose the Projects tab on the left and click the NEW button for your version of Unity.
- After a few seconds, additional templates should be displayed. Find the VR template and click the Download button:
Figure 15.10 – Installing the VR project template from Unity Hub
- Now, select the VR template and choose a new location for your project. Then, click the CREATE button.
- After a moment, Unity should start up, with a pop-up window welcoming...