com.unity.xr.interaction.toolkit 2.4.0
com.unity.xr.interaction.toolkit
Source docsNotes: processedReleased June 20, 2023
Unity Compatibility
Minimum Unity: 2021.3
Package Dependencies
- com.unity.inputsystem (1.5.0)
- com.unity.mathematics (1.2.6)
- com.unity.modules.audio (1.0.0)
- com.unity.modules.imgui (1.0.0)
- com.unity.modules.physics (1.0.0)
- com.unity.ugui (1.0.0)
- com.unity.xr.core-utils (2.2.1)
- com.unity.xr.legacyinputhelpers (2.1.10)
📈 Improvements
- Project Settings for the XR Interaction Toolkit have been moved under the category **XR Plug-in Management** to consolidate XR configuration.
- Project validation rules for the XR Interaction Toolkit and samples have been updated to use global XR project validation and will now appear in the **Edit** > **Project Settings** > **XR Plug-in Management** > **Project Validation** window.
- Changed `Reset` method of behaviors to no longer assign a reference to an XR Interaction Manager or XR Origin.
- Changed XR Interactable Affordance State Provider component's default value to Ignore Focus Events.
- Changed affordance receivers to log a warning when the affordance theme data is missing potential affordance states. A new affordance state `focused` at array index 6 was added to the affordance theme assets in the samples. Users will need to reimport the Starter Assets and Hands Interaction Demo samples or add the `focused` state to their affordance theme assets.
🔧 Bug Fixes
- Fixed an issue with the XR Distance evaluator not calculating the proper distance from trigger colliders. (XRIT-71)
- Fixed an issue where interactors and interactables could use a different default XR Interaction Manager reference, such as after instantiating a prefab that contains an XR Interaction Manager into a scene with interactables that previously created a default manager instance. (XRIT-65)
- Fixed teleportation not working when the prefab containing the Teleportation Provider component is instantiated after the teleportation interactables are loaded by attempting to find that component upon each teleport request if needed instead of only upon `Awake`.
- Fixed climb not working when the prefab containing the Climb Provider component is instantiated after the climb interactables are loaded by attempting to find that component upon each climb attempt if needed instead of only upon `Awake`.
- Fixed `XR General Grab Transformer` scaling doing exponential scaling because it was using squared distance for ration calculation.
- Fixed AR Gesture Interactor Inspector window not showing Raycast Mask and Raycast Trigger Interaction properties when the version of AR Foundation is older than version 5.0.
- Fixed compiler warnings related to `ARSessionOrigin` when AR Foundation 5.0 or newer is installed.
