Project and Packages Setup
- Import the HurricaneVR Asset from the Unity Package Manager before proceeding.
- Make sure TextMesh Pro is installed and updated to the latest version for the example scenes.
- Setup your Unity VR environment based on the below, then proceed to setup your Project Settings.
- Optional Use Empty Template Projects
XR Plugin Management
- Install the XR Plugin Management package from the Package Manager or the Project Settings window.
- Install the following packages from the Package Manager depending on your target platforms.
- Oculus: Oculus XR Plugin
- OpenXR XR Plugin also works but I feel that Oculus XR Plugin currently is better for Oculus devices.
- PCVR: SteamVR or OpenXR Plugin.
- Keep in mind Valve Knuckles finger tracking is not supported yet by Unity OpenXR and requires SteamVR plugin to work correctly.
- Oculus: Oculus XR Plugin
- Enable the Plug-in Providers under Edit -> ProjectSettings -> XR Plugin-Management
- Oculus and/or OpenVR Loader OR OpenXR
OpenXR Plugin
Make sure to expand the OpenXR Plugin so that you can find version 1.3 and higher. These are required for haptics to work and your project will not compile without the correct version.
Install the Interaction Profiles for the devices you want to support.
- G2 Support : https://developers.hp.com/omnicept-xr/blog/reverb-g2-tracking-openxr-unity?language=ko
- WMR Support: https://docs.microsoft.com/en-us/windows/mixed-reality/develop/unity/welcome-to-mr-feature-tool
Important
Select the Oculus OpenXR runtime if you are using Oculus devices. SteamVR blocks the left menu button on Oculus devices. Also as of July 2022 SteamVR broke Oculus devices anyway, read here
Important
When using OpenXR, be sure to use the OpenXR rig variants as the device components are different from older versions: XR Rigs