com.unity.xr.openxr 1.16.0-pre.2

com.unity.xr.openxr

Source docs
Notes: processedReleased October 2, 2025

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2022.3

Features

  • Added the following members to the [OpenXR native API](xref:openxr-native-api):
  • - `ISpatialConfiguration`
  • - `XrBaseInStructure`
  • - `OpenXRResultStatus.ToString`
  • - `XrFovf` (removing the previous `COMPOSITION_LAYERS` preprocessor directive)
  • - Added constructor overloads to structs that take `NativeArray.ReadOnly` as input parameters.
  • - `XrSpatialDiscoverySnapshotCreateInfoEXT.defaultValue`
  • - `OpenXRNativeApi.xrPollFutureEXT(XrFutureEXT)`
  • - `OpenXRNativeApi.xrCancelFutureEXT(XrFutureEXT)`
  • - `OpenXRResultStatus.StatusCode.Unsupported`
  • - static factory methods to construct `XrPosef`, `XrVector3f`, and `XrQuaternionf` from session-space data
  • - `XrVector3f.ToSessionSpaceVector3`
  • - `XrQuaternionf.ToSessionSpaceQuaternion`
  • - `XrPosef.ToSessionSpacePose`
  • - `XrPosef(UnityEngine.Pose)` constructor
  • - `XrSpatialComponentDataQueryResultEXT(void*)` constructor
  • - `XrSpatialComponentDataQueryResult.SetEntityIds` and `XrSpatialComponentDataQueryResult.SetEntityStates`
  • Added a new validation rule for Meta Quest feature to ensure Application entry point being set to GameActivity for Unity 6.0+.
  • ### Deprecated
  • Deprecated Hololens Microsoft Hand Interaction Profile.

API Changes

  • Removed a pre-release overload for `OpenXRNativeAPI.xrQuerySpatialComponentDataEXT` that didn't allow you to receive component data chained to the next pointer of the query condition.

🔧 Bug Fixes

  • Fixed the Render Mode setting dropdown in OpenXR Settings to align consistently with the UI of other settings.
  • Fixed `MockOpenXREnvironmentSettings` so that changes made to mock runtime settings don't affect the serialized settings assets in your project.
  • Fixed `MockOpenXREnvironmentSettings` so that it doesn't save any unwanted changes to your EditorBuildSettings.
  • Fixed swapchain diagnostic reports not being removed from cache after swapchains are destroyed.
  • Fixed a compile error when using this package in Unity 6000.3.0b1 or newer, which was caused by the deprecation of the VR module in that Editor version.
  • Fixed a crash when the OpenXR library was loaded with a path containing emojis on OSX.