com.unity.xr.arfoundation 4.2.0-pre.12

com.unity.xr.arfoundation

Notes: processedReleased July 22, 2021

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2020.3

Features

  • Added support new [XRMeshSubsystem](xref:UnityEngine.XR.XRMeshSubsystem) interface available in 2021.2, which allows providers to specify a separate transform for each mesh.
  • Added methods to get the [raw](xref:UnityEngine.XR.ARFoundation.AROcclusionManager.TryAcquireRawEnvironmentDepthCpuImage\(UnityEngine.XR.ARSubsystems.XRCpuImage@\)) and [smoothed](xref:UnityEngine.XR.ARFoundation.AROcclusionManager.TryAcquireSmoothedEnvironmentDepthCpuImage\(UnityEngine.XR.ARSubsystems.XRCpuImage@\)) depth images independently.

🔧 Bug Fixes

  • Fixed a `NullReferenceException` when accessing mesh information from an [ARFace](xref:UnityEngine.XR.ARFoundation.ARFace) in the Editor. The exception was thrown from ``Unity.Collections.NativeArray`1[T].CheckElementReadAccess``.