VR Guides
Unity's OpenXR Setup Setup walkthrough

Unity's OpenXR Setup

To get started, follow the instructions to enable the OpenXR plug-in.

01

OpenXR#

Unity 6 logo

All versions of this Asset require Unity Version 6.
Several Unity Packages are also needed and you will be prompted to install these when you download OpenWorlds VR into the Unity Editor.

We also suggest that for both Game Creator 2 and the Unity starter packs, the latest update is installed.

The following pages will detail which packages are required and the setup configuration needed.

02

OpenXR Packages#

The following is a list of the main packages required for OpenWorlds VR to operate. They should be automatically installed when OpenWorlds VR is downloaded.

  • Cinemachine
  • Input System
  • OpenXR Plugin
  • XR Interaction Toolkit
  • XR Plugin Management
Required packages in the Unity Package Manager

These packages should be the current version and may require other packages that will be installed automatically.

03

OpenXR Installation#

Once the packages have been installed, navigate to Project Settings and XR Plug-in Management, Desktop tab as shown below.

XR Plug-in Management, Desktop tab

This Asset utilises Unity's OpenXR plugin and therefore you need to check the OpenXR checkbox. It will show errors (yellow triangle) but we will fix those after we configure the plugin.

Also select OpenXR for Android if you are wanting to build for StandAlone Meta Quest devices.

XR Plug-in Management, Android tab
04

OpenXR Configuration#

While still in Project Settings, select OpenXR under the XR Plug-in Management entry. Select the Desktop Tab.

OpenXR settings, Desktop tab, Interaction Profiles

At least one Interaction Profile must be added. In this example, we have added the Oculus Touch and the Meta Quest profiles.

Finally, select the Project Validation entry, and click Fix All. Each of the errors should be automatically resolved.

Project Validation with Fix All

When building for Android StandAlone, you need to add a minimum of the Meta Quest Feature.

OpenXR settings, Android tab, Meta Quest feature

Lastly, click the settings cog for Meta Quest Support, and add the devices that you will include, not forgetting to add the Interaction Profiles.

Meta Quest Support settings, target devices
05

Video Tutorials#

Coming soon

Video tutorials coming soon.