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

Preview

com.unity.xr.interaction.toolkit

Source docs
Notes: processedReleased March 17, 2026

Browse versions

PreviousNext

Download Options

Direct package downloads captured from Unity's package registry.

Unity Compatibility

Minimum Unity: 2022.3

Package Dependencies

Features

  • Added an example prefab for hand-based teleportation to the Hands Interaction Demo.
  • Added `prioritizeDistanceSorting` to the `UIInputModule` to ensure closer objects are prioritized for UI interactions.
  • Added new methods and events to `XRUIInputModule` related to registration changes, including getting a list of registered UI interactors and for adding to a waitlist that an input module can consume to register UI interactors automatically or through scripting.
  • Added a new [`IUIInteractorRegistrationHandler`](xref:UnityEngine.XR.Interaction.Toolkit.UI.IUIInteractorRegistrationHandler) interface that is a [`IUIInteractor`](xref:UnityEngine.XR.Interaction.Toolkit.UI.IUIInteractor) but allows for the UI interactor to be notified of registration changes to an XR UI Input Module component. The built-in interactor components that support UI interaction now implement this new interface.
  • Added motion continuity validation to `XRPokeInteractor` that detects frame gaps, teleport-like discontinuities, and first-frame conditions to ensure swept sphere queries only trace physically meaningful inter-frame paths.
  • Added a Snap Volume Interaction collision setting to `XRPokeInteractor`.
  • Added support for sending [`UIHoverEnterEvent`](xref:UnityEngine.XR.Interaction.Toolkit.UI.UIHoverEnterEvent) and [`UIHoverExitEvent`](xref:UnityEngine.XR.Interaction.Toolkit.UI.UIHoverExitEvent) events from the world-space support for UI Toolkit. Additional properties were added to the [`UIHoverEventArgs`](xref:UnityEngine.XR.Interaction.Toolkit.UI.UIHoverEventArgs) passed to each to allow users to distinguish between UI Toolkit or uGUI (Unity UI) and access values specific to each.
  • Added ability to use input from **UI Scroll Input** on both **XR Ray Interactor** and **Near-Far Interactor** to allow scrolling on UI Toolkit scroll views.
  • Added point-and-click functionality to the simulated controllers in `XRInteractionSimulator`. This allows you to interact with objects in controller mode via mouse point and click.
  • Added hand interactivity to the `XRInteractionSimulator`. Originally, hands in the simulator were only visual. Now hand interaction is simulated and passed to a hand subsystem allowing users to interact with their scene using simulated hands.
  • Added a new XR Mouse Interaction Demo sample with support for the XR\_ANDROID\_mouse\_interaction OpenXR extension.

Improvements

  • Changed the Hands Interaction Demo base environment to include teleport anchors to utilize hand-based teleportation.
  • Changed package sample textures and sprites to conform to power of two standards.
  • Changed max Cone Cast Angle from 180 degrees to 20 degrees in the XR Ray Interactor Inspector window.
  • Changed Cone Cast Angle to a slider with range 0 to 20 degrees in the Curve Interaction Caster Inspector window.
  • Changed the `XRUIInputModule` on the `EventSystem` that is automatically created at runtime by a UI interactor to be marked as `DontDestroyOnLoad`. The default input module will only be automatically created once all scenes finish loading.
  • Changed the XR UI Input Module component so it unregisters all UI interactors when that component is destroyed. The components that were registered with the destroyed input module will automatically be re-registered with another input module, either an active and enabled one in the scene or the next one to be enabled. This updates the behavior of the XR UI Input Module and UI interactors to match the functionality of interactors with the XR Interaction Manager.
  • `XRInteractionSimulator` now keeps track of both left and right controller inputs/hand expressions.
  • `XRUIInputModule` now gates touchscreen and mouse related input actions with `enableTouchInput` or `enableMouseInput`.
  • Deprecated `XRDeviceSimulator` as it will be replaced with the `XRInteractionSimulator`.
  • Deprecated `SimulatedHandExpressionManager` as it will be replaced with the `SimulatedHandPlaybackManager`.

Bug Fixes

  • Fixe