com.unity.xr.arfoundation 7.0.0-pre.1

Preview

com.unity.xr.arfoundation

Source docs
Notes: processedReleased November 23, 2026

Browse versions

PreviousNext

Download Options

Direct package downloads captured from Unity's package registry.

Unity Compatibility

Minimum Unity: 7000.0 (0a12)

Package Dependencies

Improvements

  • Changed the minimum Unity version from 6000.0 to 7000.0.
  • Changed the minimum dependency version of uGUI from 2.0.0 to 7.0.0.
  • Renamed `BoundedPlane` to [XRPlane](xref:UnityEngine.XR.ARSubsystems.XRPlane). `BoundedPlane` is obsolete. Provider plug-ins must now override [XRPlaneSubsystem.Provider.GetChanges(XRPlane, Allocator)](xref:UnityEngine.XR.ARSubsystems.XRPlaneSubsystem.Provider.GetChanges(UnityEngine.XR.ARSubsystems.XRPlane,Unity.Collections.Allocator)). Refer to [Upgrade to AR Foundation 7.0](xref:arfoundation-upgrade-guide-7-0) for required actions.
  • Renamed `BoundedPlaneBuilder` to [XRPlaneBuilder](xref:UnityEngine.XR.ARSubsystems.XRPlaneBuilder). `BoundedPlaneBuilder` is obsolete. Refer to [Upgrade to AR Foundation 7.0](xref:arfoundation-upgrade-guide-7-0) for required actions.
  • Renamed `BoundedPlaneBuilder.FromBoundedPlane` to [XRPlaneBuilder.FromPlane](xref:UnityEngine.XR.ARSubsystems.XRPlaneBuilder.FromPlane(UnityEngine.XR.ARSubsystems.XRPlane)). `BoundedPlaneBuilder.FromBoundedPlane` is obsolete. Refer to [Upgrade to AR Foundation 7.0](xref:arfoundation-upgrade-guide-7-0) for required actions.
  • Renamed the `ARSession` component to [ARSessionManager](xref:UnityEngine.XR.ARFoundation.ARSessionManager). `ARSession` is obsolete. Refer to [Upgrade to AR Foundation 7.0](xref:arfoundation-upgrade-guide-7-0) for required actions.
  • Changed the sample descriptions in the Package Manager to use one short summary followed by a list of each sample's dependencies, matching the other XR packages.
  • The following APIs, which were previously deprecated with a warning, now produce compile errors when referenced. Refer to the [upgrade guide](xref:arfoundation-upgrade-guide-7-0) for more information.
  • - [`LightEstimationMode`](xref:UnityEngine.XR.ARSubsystems.LightEstimationMode). Use the `Feature` flags enum instead.
  • - [`ShaderKeywords`](xref:UnityEngine.XR.ARSubsystems.ShaderKeywords). Use `XRShaderKeywords` instead.
  • - [`XRCameraFrame`](xref:UnityEngine.XR.ARSubsystems.XRCameraFrame) properties `timestampNs`, `averageBrightness`, `averageColorTemperature`, `colorCorrection`, `projectionMatrix`, `displayMatrix`, `averageIntensityInLumens`, `exposureDuration`, `exposureOffset`, `mainLightIntensityLumens`, `mainLightColor`, `mainLightDirection`, `ambientSphericalHarmonics`, `cameraGrain`, and `noiseIntensity`, and their `has` properties `hasTimestamp`, `hasAverageBrightness`, `hasAverageColorTemperature`, `hasColorCorrection`, `hasProjectionMatrix`, `hasDisplayMatrix`, `hasAverageIntensityInLumens`, `hasExposureDuration`, `hasExposureOffset`, `hasMainLightIntensityLumens`, `hasMainLightColor`, `hasMainLightDirection`, `hasAmbientSphericalHarmonics`, `hasCameraGrain`, and `hasNoiseIntensity`. Use the `TryGet` method with the matching name instead, such as `TryGetAverageBrightness`. For `timestampNs` and `hasTimestamp`, use `TryGetTimestamp`.
  • - [`XRCameraSubsystem`](xref:UnityEngine.XR.ARSubsystems.XRCameraSubsystem) and [`XROcclusionSubsystem`](xref:UnityEngine.XR.ARSubsystems.XROcclusionSubsystem) methods `GetMaterialKeywords` and `GetShaderKeywords`. Use `GetShaderKeywords2` instead.
  • - [`XRTextureDescriptor`](xref:UnityEngine.XR.ARSubsystems.XRTextureDescriptor) property `dimension` and the constructor that takes a `TextureDimension`. Use `textureType` and the constructor that takes an `XRTextureType` instead.
  • - [`XRImageTrackingSubsystem.CreateRuntimeLibrary`](xref:UnityEngine.XR.ARSubsystems.XRImageTrackingSubsystem.CreateRuntimeLibrary*). Use `TryCreateRuntimeLibraryAsync` instead.
  • - [`PlaneClassification`](xref:UnityEngine.XR.ARSubsystems.PlaneClassification), `PlaneClassificationExtensions`, and the [`XRPlane`](xref:UnityEngine.XR.ARSubsystems.XRPlane) property and constructor that use it. Use `PlaneClassifications` and `XRPlane.classifications` instead.
  • - [`XRPlaneSubsystem.CreateOrResizeNativeArrayIfNecessary`](xref:UnityEngine.XR.ARSubsystems.XRPlaneSubsystem.CreateOrResizeNativeArrayIfNecessary*). Use `NativeArrayUtils` from XR Core Utils instead