com.unity.xr.arfoundation 6.4.0-pre.1
Source docsNotes: processedReleased October 9, 2025
Unity Compatibility
Minimum Unity: 6000.0
Package Dependencies
- com.unity.editorcoroutines (1.0.0)
- com.unity.inputsystem (1.6.3)
- com.unity.mathematics (1.2.6)
- 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 (2.0.0)
- com.unity.xr.core-utils (2.5.1)
- com.unity.xr.management (4.4.0)
✨ Features
- Added a new virtual [Raycast](xref:UnityEngine.XR.ARSubsystems.XRRaycastSubsystem.Provider.Raycast\(UnityEngine.XR.ARSubsystems.XRRaycastHit,UnityEngine.Ray,UnityEngine.XR.ARSubsystems.TrackableType,Unity.Collections.Allocator,System.Single\)) function to XRRaycastSubsystem that takes a float maxDistance argument, that will only return ray cast hits within that distance.
- Added the [XRMarkerSubsystem](xref:UnityEngine.XR.ARSubsystems.XRMarkerSubsystem) APIs that providers can implement to support tracking QR codes and other marker types. Manual documentation to follow in a subsequent pre-release version of this package.
- Added [ARMarkerManager](xref:UnityEngine.XR.ARFoundation.ARMarkerManager) that uses the `XRMarkerSubsystem` to bring marker data into Unity via [ARMarkerManager](xref:UnityEngine.XR.ARFoundation.ARMarkerManager) and [ARMarker](xref:UnityEngine.XR.ARFoundation.ARMarker). Refer to [marker documentation](xref:arfoundation-markers-armarker) to learn more.
- Added [TryGetSubmeshClassifications](xref:UnityEngine.XR.ARFoundation.ARMeshManager.TryGetSubmeshClassifications) to access mesh component semantic classifications on supported platforms, using the new [XRMeshSubsystem](xref:UnityEngine.XR.XRMeshSubsystem) with submesh classification pipeline.
- ### Deprecated
- [ARMeshManager.meshesChanged](xref:UnityEngine.XR.ARFoundation.ARMeshManager.meshesChanged) is deprecated; use [meshInfosChanged](xref:UnityEngine.XR.ARFoundation.ARMeshManager.meshInfosChanged) instead, which contains the same information plus additional information (e.g. TrackableId)
- In Unity 6000.4 and newer Editor versions, all methods that depend on URP Compatibility Mode have been changed from `Obsolete(false)` to `Obsolete(true)`. URP Compatibility Mode is removed in Unity 6000.4, so these APIs are no longer supported in Unity 6000.4 or newer. The following methods are affected:
- - `ARBackgroundRendererFeature.Execute`
- - `ARBackgroundRendererFeature.Configure`
- - `ARCommandBufferSupportRendererFeature.Execute`
