com.unity.xr.arfoundation 5.0.5
Source docsNotes: processedReleased March 14, 2023
Unity Compatibility
Minimum Unity: 2021.2
Package Dependencies
- com.unity.inputsystem (1.3.0)
- com.unity.mathematics (1.2.5)
- com.unity.modules.particlesystem (1.0.0)
- com.unity.modules.ui (1.0.0)
- com.unity.modules.unityanalytics (1.0.0)
- com.unity.modules.unitywebrequest (1.0.0)
- com.unity.ugui (1.0.0)
- com.unity.xr.core-utils (2.1.0)
- com.unity.xr.management (4.0.1)
✨ Features
- Added [ARSession.Reset](xref:UnityEngine.XR.ARFoundation.ARSession.Reset) support to relevant subsystems in XR Simulation.
🔧 Bug Fixes
- Fixed an issue for the XR Simulation camera where looking down or up would incorrectly affect the direction of movement in some cases.
- Fixed an issue where `SimulationCameraSubsystem.subsystemDescriptor.supportsCameraImage` incorrectly returned `true`. The `SimulationCameraSubsystem` in AR Foundation 5.0 does not support the [TryAcquireLatestCpuImage](xref:UnityEngine.XR.ARSubsystems.XRCameraSubsystem.TryAcquireLatestCpuImage\(UnityEngine.XR.ARSubsystems.XRCpuImage@\)) API, and this property now correctly returns `false`. If you need access to `TryAcquireLatestCpuImage` in XR Simulation, you can upgrade to AR Foundation 5.1, currently in pre-release.
- Fixed an issue where `SimulationCameraSubsystem.TryAcquireLatestCpuImage` incorrectly returned `true`. This API previously assigned invalid data to its out parameter, and now correctly throws a `NotSupportedException` instead. If you need access to `TryAcquireLatestCpuImage` in XR Simulation, you can upgrade to AR Foundation 5.1, currently in pre-release.
