The Unity XR SDK adds low level support for input and output related to XR.
Mainly rendering the XR display using one Unity Camera Component, and supporting input for tracking XR devices.
This PR make huge changes in how WebXR Export worked so far, as it brings better integration with Unity.
It includes deprecating support for older versions of Unity, who does not support XR SDK for web.
And also includes changes on how the XR Rig is built, as now only 1 Camera component is needed for the XR display.
This PR also forces move to URP only, as Built-in RP has more critical bugs.
TODO:
[x] Clean code changes.
[x] Fix viewport issues on mobile phone AR.
[x] Fix distorted image when only Skybox in view - Unity 2022.3.10f1 (Unity bug?).
[x] Fix distorted objects in AR mode - Unity 2022.3.10f1 and 2020.3.11f1 (Unity bug?).
[x] Test on more Unity versions.
[x] Test spectator mode on all versions.
[x] Test Mixed Reality Capture on all versions.
WebXR Export changes:
Added
Native XRSubsystem for WebXR Display rendering.
Native XRSubsystem for WebXR Headset/Device tracking.
WebXRCameraSettings for updating Camera settings when switching XR modes.
WebXRModesNotifier with events when switching to or from XR modes.
Removed
Support for Unity versions older than 2020.3.6f1.
Support for Built-in Render Pipeline.
WebXR Interactions changes:
Changed
XR Interaction Toolkit sample XR Rig now use 1 camera instead of cameras group.
SceneHitTest now looks for Main Camera if there's no WebXRCamera component in scene.
Samples now use URP instead of Built-in Render Pipeline.
Deprecated
HandMenu as the duplication no longer needed. Use XRI HandMenu instead.
Removed
WebXRHMD device from WebXRInputDevices as it's now native part of the WebXR Export package.
Support for Unity versions older than 2020.3.6f1.
Support for Built-in Render Pipeline.
Fixed
Issue with Anchor Control in the XR Interaction Toolkit sample XR Screen Space Controller.
The Unity XR SDK adds low level support for input and output related to XR. Mainly rendering the XR display using one Unity Camera Component, and supporting input for tracking XR devices.
This PR make huge changes in how WebXR Export worked so far, as it brings better integration with Unity. It includes deprecating support for older versions of Unity, who does not support XR SDK for web. And also includes changes on how the XR Rig is built, as now only 1 Camera component is needed for the XR display.
This PR also forces move to URP only, as Built-in RP has more critical bugs.
TODO:
WebXR Export changes:
Added
Removed
WebXR Interactions changes:
Changed
Deprecated
Removed
Fixed