2b. SteamVR support
This page explains how to install the OpenVR package inside the Unity XR Plugin. OpenVR is the necessary SDK for SteamVR to work. It is necessary for HTC Vive headsets but is also compatible for all others.
First make sure you first followed the Setup Unity for XR tutorial.
Then go to Window > Package Manager:
A new window pops-up. To add a package, go to the ‘+’ sign on the top left of the window. Open the drop-down menu and select ‘Add package from git URL…’
A text field appears. Paste the following link: https://github.com/apelab/steamvr_unity_plugin.git#ApelabUnityXRPlugin
Press Add and wait for about 15-20 seconds.
WARNING: it may seem that nothing is happening, just wait until you see a progress bar.
Wait until all progresses are done. Then you can go to Edit > Project Settings and check that OpenVR is available under the XRPlugin. Check the ‘OpenVR Loader’ option for Unity to use SteamVR.