com.unity.xr.arfoundation 5.0.5

com.unity.xr.arfoundation

Source docs
Notes: processedReleased March 14, 2023

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2021.2

Package Dependencies

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.