What's new in version 5.0
Summary of changes in AR Foundation package version 5.0.
The main updates in this release include:
Added
- Added
ARDebugMenuthat will help in visualizing the location of the XROrigin, planes, anchors and the current FPS and tracking state. See the manual entry for AR Debug Menu for more information. - Added a configuration sub-menu to
ARDebugMenu. See the manual entry for AR Debug Menu for more information. - Added support new XRMeshSubsystem interface available in 2021.2, which allows providers to specify a separate transform for each mesh.
- Added support for a new OcclusionPreferenceMode.NoOcclusion mode that, when set, disables occlusion rendering on the camera background when using ARCameraBackground and AROcclusionManager.
- Added simulation of environments that allows testing of AR scenes in the editor.
Updated
com.unity.xr.arsubsystemshas been merged intocom.unity.xr.arfoundation. All the subsystems that were part ofcom.unity.xr.arsubsystemspackage 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.
- Depth subsystem has been renamed to point cloud subsystem:
XRDepthSubsystemrenamed toXRPointCloudSubsystemXRDepthSubsystemDescriptorrenamed toXRPointCloudSubsystemDescriptor
Deprecated
- Deprecated the XRSubsystem. Use SubsystemWithProvider base class instead with an implementation of SubsystemDescriptorWithProvider and SubsystemProvider.
ARSessionOriginis now deprecated. Use XROrigin from the XR Core Utilities package instead.ARPoseDriveris now deprecated. Use TrackedPoseDriver from the Input System package instead.
Fixed
- Fixed a missing dependency on built-in particle system module.
For a full list of changes and updates in this version, see the AR Foundation package changelog.