com.unity.xr.interaction.toolkit 3.6.0

com.unity.xr.interaction.toolkit

Source docs
Notes: processedReleased August 12, 2026

Browse versions

PreviousNext

Download Options

Direct package downloads captured from Unity's package registry.

Unity Compatibility

Minimum Unity: 6000.0

Package Dependencies

Improvements

  • Changed [`ICurveInteractionCaster`](xref:UnityEngine.XR.Interaction.Toolkit.Interactors.Casters.ICurveInteractionCaster) to add a [`raycastMask`](xref:UnityEngine.XR.Interaction.Toolkit.Interactors.Casters.ICurveInteractionCaster.raycastMask) property to allow getting and setting the raycast layer mask without casting to the concrete [`CurveInteractionCaster`](xref:UnityEngine.XR.Interaction.Toolkit.Interactors.Casters.CurveInteractionCaster) type.
  • - This is implemented as a default interface member, so users implementing their own custom class implementing this interface may need to implement that property redirecting to its equivalent `LayerMask` property if the property name differs.

Bug Fixes

  • Fixed [`UIInputModule`](xref:UnityEngine.XR.Interaction.Toolkit.UI.UIInputModule) to prioritize the event camera from the canvas's raycaster over the main camera (`Camera.main`). This fixes incorrect screen-space coordinate conversions for world space canvases that use a camera other than the main camera, such as composition layer canvases.
  • Fixed `XRInteractionSimulator` throwing a `NullReferenceException` when the scene contains a Main Camera at the hierarchy root.
  • Fixed deprecated API compiler warning when importing the visionOS sample in Unity 6.4 or newer.