com.unity.xr.interaction.toolkit 3.7.0-pre.1

Preview

com.unity.xr.interaction.toolkit

Source docs
Notes: processedReleased September 4, 2026

Browse versions

PreviousNext

Download Options

Direct package downloads captured from Unity's package registry.

Unity Compatibility

Minimum Unity: 6000.0

Package Dependencies

Features

  • Added support for dynamically adding and removing colliders on interactables after registration. `XRBaseInteractable` now provides `RegisterCollider`, `UnregisterCollider`, `RefreshColliders`, and a `collidersChanged` event (with `CollidersChangedEventArgs`) for managing colliders at runtime. For UI Toolkit world space panels, colliders created dynamically by `UIDocument` are automatically registered when the `XRUIToolkitManager` is present in the scene.
  • Added `XRPokeFilter` recovery path that automatically re-enables the filter when colliders are added to an interactable after the filter initially disabled itself due to missing colliders.
  • Added editor restriction to prevent modifying the **Colliders** list in the Inspector during Play mode while the interactable is active. A help box directs users to the runtime API (`RegisterCollider`, `UnregisterCollider`, `RefreshColliders`) or to disable the component to edit the list.
  • Added support for hands in the Spatial Keyboard sample. Adds a dependency on the Hands Interaction Demo sample which contains the XR Origin prefab configured for hands.
  • Added UI buttons to teleport pads in Starter Assets, Spatial Keyboard, and World Space UI Samples.
  • Added reticle support to [`CurveVisualController`](xref:UnityEngine.XR.Interaction.Toolkit.Interactors.Visuals.CurveVisualController). The component also now implements [`IXRCustomReticleProvider`](xref:UnityEngine.XR.Interaction.Toolkit.Interactors.Visuals.IXRCustomReticleProvider) to be able to receive reticles from interactables.
  • Added `BlockedReticleSwapper` sample component to Starter Assets that swaps the reticle on a `CurveVisualController` when the interactor is hovering but cannot select.

Improvements

  • Changed `XRUIToolkitManager` to add a `MonoBehaviour.Update` method implementation for monitoring dynamic collider registrations. The manager detects externally destroyed colliders (e.g. `UIDocument` disable/re-enable) and re-registers them when they return. Panels with **Collider Update Mode** set to **Keep existing colliders (if any)** in Panel Settings are skipped. Users who have a derived class that implements `Update` will need to call `base.Update()` for dynamic collider registration to function.
  • Changed `XRPokeFilter` to stay subscribed to `collidersChanged` and update its collider reference when colliders are replaced at runtime.
  • Changed `XRPokeFilter` to recompute poke interaction depth at the start of each poke to account for collider bounds changes.
  • Changed `XRPokeLogic` interaction axis length calculation to ensure thin colliders with center offsets produce a valid poke depth. The axis length is now clamped to at least half the collider's size along the poke direction. Colliders with zero depth along the poke direction will still return 0.
  • Changed script assets Hands Interaction Demo sample by moving `CalloutGazeController` and `UIComponentToggler` to the Starter Asserts sample to support Starter Assets UI Button teleport.

Bug Fixes

  • Fixed UI Toolkit world space panels with dynamically created colliders not working with poke interactors. (UUM-143724)
  • Fixed `ButtonEventSample` in the World Space UI sample not rebinding UI element references when the `UIDocument` component is disabled and re-enabled independently of the GameObject.
  • Fixed [`XRBaseInteractable`](xref:UnityEngine.XR.Interaction.Toolkit.Interactables.XRBaseInteractable) custom reticle injection to search child GameObjects for [`IXRCustomReticleProvider`](xref:UnityEngine.XR.Interaction.Toolkit.Interactors.Visuals.IXRCustomReticleProvider), allowing it to work when the provider is on a child GameObject.