Show / Hide Table of Contents

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
    • https://github.com/cloudwalker2020/HurricaneTemplate_2021_OpenXR
    • https://github.com/cloudwalker2020/HurricaneTemplate_2021_SteamVR

XR Plugin Management

  1. Install the XR Plugin Management package from the Package Manager or the Project Settings window.
  2. Install the following packages from the Package Manager depending on your target platforms.
    1. Oculus: Oculus XR Plugin
      1. OpenXR XR Plugin also works but I feel that Oculus XR Plugin currently is better for Oculus devices.
    2. PCVR: SteamVR or OpenXR Plugin.
      1. Keep in mind Valve Knuckles finger tracking is not supported yet by Unity OpenXR and requires SteamVR plugin to work correctly.
  3. Enable the Plug-in Providers under Edit -> ProjectSettings -> XR Plugin-Management
    1. Oculus and/or OpenVR Loader OR OpenXR

xr plugin

xrplugin

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

o

open

o

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

  • Improve this Doc
In This Article
Back to top Generated by DocFX