Alex_HTC Posted April 13, 2022 Share Posted April 13, 2022 (edited) 1) Install a 2020 or later LTS version of unity 2) Get the openxr package by adding the Vive Scoped registry to your project a) Open the Package manager, by selecting "Window->Package Manager" b) Select the gear icon, here circled in red c) Fill in a new entry for VIVE in the "Package Manager Settings" and hit save Name: Vive URL: https://npm-registry.vive.com/ Scope(s): com.htc.upm d) Switch back to the package manger tab and select the new entry "My Registries" e) Install the "Vive Open XR Plugin" by selecting "Vive Wave XR Plugin - OpenXR" entry, and selecting the "Install" button in the lower right of the panel2) Enable openxr plugin a) Enable both the old and new input systems in project settings (if not previously set to this), which will require unity to restart b)Enable openxr support in "Project Settings->XR Plug-in Management" c) Enable Vive focus3 support in the openxr feature groups category c) Click the red x next to focus3 support and select "Fix all" or "fix" to each relevant item in the "OpenXR Project validation" window that pops up After - ensure that the "Vive focus 3 profile" is added: 3) Enjoy XR development using openxr a) A sample project using openxr is available on the "openxr" branch at this link: https://github.com/hardcoded2/HelloVR/tree/openxr builds (zip files with apks inside) with the project built in * 2020 https://github.com/hardcoded2/HelloVR/suites/6113995207/artifacts/212516274 * 2021 https://github.com/hardcoded2/HelloVR/suites/6113995207/artifacts/212516275 * 2022 https://github.com/hardcoded2/HelloVR/suites/6113995207/artifacts/212516276 b) A more advanced example showing how to use openxr with XR Interaction Toolkit 2.0+: https://github.com/hardcoded2/XR-Interaction-Toolkit-Examples/tree/wave_openxr_xr_origin/VR Edited August 18, 2022 by MarcusN Removing step 0 for beta information. 2 Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now