com.unity.xr.interaction.toolkit 3.4.0
com.unity.xr.interaction.toolkit
Source docsNotes: processedReleased February 4, 2026
Browse versions
PreviousNext
✨ Features
- Added UI Toolkit world-space support to `XRRayInteractor` for Unity 6.2.0 and newer, enabling ray-based interaction with UI Toolkit panels in XR environments.
- Added z-depth poke support for world space UI Toolkit Buttons and Toggles.
- Added a Manager Singleton Mode to the XR Interaction Toolkit project settings to automatically destroy additional XR Interaction Manager components in order to keep only a single active and enabled manager across all loaded scenes to avoid issues with interaction components being registered with multiple, different managers unintentionally and preventing interaction between them. The default project setting continues to allow multiple managers.
- Added a new Non Tracked Scroll Delta Multiplier property to the XR UI Input Module to allow users to configure the `PointerEventData.scrollDelta` that is dispatched to the scroll handlers for mouse and touch input. Note that this property does not apply when exclusively using the old Input Manager instead of the Input System in order to maintain legacy functionality.
📈 Improvements
- Changed the minimum Unity version to `2022.3`.
- Reserialized all sample package assets with Unity `2022.3`.
- Changed some scripts to additionally try to find other components during their `OnEnable` method instead of only during their `Awake` method to allow them to be refreshed by toggling the component's enabled state. Those scripts which previously disabled the component during `Awake` due to missing required references is now done during `OnEnable` instead.
- Changed some scripts to add `MonoBehaviour` event method implementations. Users who had already implemented these methods in derived classes will need to call the base method.
- - Changed [`LocomotionProvider`](xref:UnityEngine.XR.Interaction.Toolkit.Locomotion.LocomotionProvider) by adding `OnEnable` and `OnDisable` methods.
- Changed some locomotion providers to add a public property for the `GravityProvider` component reference.
- Changed text objects in samples to TextMeshPro.
- Changed `XRUIToolkitHandler` to prevent interactor registration when the application is not running in play mode.
- Changed the handling of scroll input of mouse and touchpad in the XR UI Input Module and within the simulators. This fixes the XR UI Input Module, the XR Device Simulator, and XR Interaction Simulator to handle scroll inputs consistently whether the Scroll Delta Behavior under **Edit** > **Project Settings** > **Input System Package** > **Settings** is set to either Uniform Across All Platforms or Keep Platform Specific Input Ranges. The amount scrolled when using the XR UI Input Module should now better match the Input System UI Input Module on most versions of Unity. The added Non Tracked Scroll Delta Multiplier property in the XR UI Input Module can be used to scale the uniform scroll values as needed.
- - In applications where the user could use mouse or touch input to scroll, users which were using Scroll Delta Behavior of Uniform Across All Platforms and were already compensating for this with the Scroll Sensitivity property of a Scroll Rect may need to either adjust the value of those Scroll Rect components or adjust the Non Tracked Scroll Delta Multiplier property of the XR UI Input Module component on the EventSystem GameObject. For Windows, a multiplier value of `6 / 120 = 0.05` will restore the old behavior.
- ### Deprecated
- Deprecated `LineProperties.starWidth` and replaced it with `LineProperties.startWidth` as the former name was a typo.
🔧 Bug Fixes
- Fixed warnings in the [World Space UI sample package](xref:xri-samples-world-space-ui) where the UI documents and style sheets were pointing to an out-of-date asset path.
- Fixed compiler warnings triggered by obsolete APIs in Unity 6.4 and newer.
- Fixed warnings generated by the [Spatial Keyboard sample package](xref:xri-samples-spatial-keyboard) when importing the `KeyboardIconAtlas` asset.
- Fixed/suppressed compiler warning triggered by deprecation of `MicrosoftHandInteraction.HoloLensHand` in OpenXR 1.16.0 and newer.
- Fixed th
