com.unity.xr.arfoundation 5.0.0-pre.5
Notes: processedReleased November 1, 2021
Unity Compatibility
Minimum Unity: 2021.2
Package Dependencies
- com.unity.modules.particlesystem (1.0.0)
- com.unity.modules.ui (1.0.0)
- com.unity.ugui (1.0.0)
- com.unity.xr.management (4.0.1)
✨ Features
- Added [ARDebugMenu](xref:UnityEngine.XR.ARFoundation.ARDebugMenu) that will help in visualizing the location of the ARSessionOrigin and the current FPS and tracking state. See the [manual entry for AR Debug Menu](xref:arfoundation-debug-menu) for more information.
- Added plane visualization to [ARDebugMenu](xref:UnityEngine.XR.ARFoundation.ARDebugMenu). See the [manual entry for AR Debug Menu](xref:arfoundation-debug-menu) for more information.
- Added support for new [XRMeshSubsystem](xref:UnityEngine.XR.XRMeshSubsystem) interface available in 2021.2, which allows providers to specify a separate transform for each mesh.
📈 Improvements
- `com.unity.xr.arsubsystems` has been merged into `com.unity.xr.arfoundation`. All the subsystems that were part of `com.unity.xr.arsubsystems` package are now available with this package (See the old AR Subsystems Package changelog for more details).
- The minimum Unity version for this package is now 2021.2.
- ### Deprecated
- Deprecated the [XRSubsystem](xref:UnityEngine.XR.ARSubsystems.XRSubsystem%601). Use [SubsystemWithProvider](xref:UnityEngine.SubsystemsImplementation.SubsystemWithProvider) base class instead with an implementation of [SubsystemDescriptorWithProvider](xref:UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider) and [SubsystemProvider](xref:UnityEngine.SubsystemsImplementation.SubsystemProvider).
⚡ API Changes
- Removed deprecated APIs: `UnityEditor.XR.ARSubsystems.InternalBridge`, `ARReferencePoint`, `ARReferencePointManager`, `ARReferencePointsChangedEventArgs`, `XRReferencePoint`, `XRReferencePointSubsystem`, and `XRReferencePointSubsystemDescriptor`.
- Removed conditional dependency on the deprecated Lightweight Renderpipeline (LWRP) package.
🔧 Bug Fixes
- [ARMeshManager](xref:UnityEngine.XR.ARFoundation.ARMeshManager) no longer throws `ArgumentNullException`s ("Value cannot be null") when exiting play mode in the editor.
- Fixed a missing dependency on built-in particle system module.
- Fixed a missing dependency on built-in UI module and UGUI pacakge.
- Fixed issue where `XROcclusionSubsystem` would use `Provider.environmentDepthCpuImageApi` instead of `Provider.environmentDepthConfidenceCpuImageApi` when acquiring the Environment Depth Confidence CPU Image.
