com.unity.xr.interaction.toolkit 1.0.0-pre.5
com.unity.xr.interaction.toolkit
Notes: processedReleased August 4, 2021
Unity Compatibility
Minimum Unity: 2019.3
Package Dependencies
- com.unity.inputsystem (1.0.2)
- com.unity.modules.audio (1.0.0)
- com.unity.modules.imgui (1.0.0)
- com.unity.ugui (1.0.0)
- com.unity.xr.legacyinputhelpers (2.1.7)
✨ Features
- Added public events to `UIInputModule` which correspond to calls to `EventSystem.Execute` and `EventSystem.ExecuteHierarchy` to allow the events to be globally handled.
- Added profiler markers to `XRInteractionManager` to help with performance analysis.
- Added ability for the Animation and Physics 2D built-in packages to be optional.
📈 Improvements
- Changed `XRBaseInteractable.GetDistanceSqrToInteractor` to not consider disabled Colliders or Colliders on disabled GameObjects. This logic is used by `XRDirectInteractor` and `XRSocketInteractor` to find the closest interactable to select.
🔧 Bug Fixes
- Fixed poor performance scaling of `XRInteractionManager` as the number of valid targets and hover targets of an Interactor increased. AR projects with hundreds of gesture interactables should see a large speedup.
- Fixed AR Gesture Recognizers producing GC allocations each frame when there were no touches.
- Fixed issue involving multiple Interactables that reference the same Collider in their Colliders list. Unregistering an Interactable will now only cause the Collider association to be removed from the `XRInteractionManager` if it's actually associated with that same Interactable.
- Fixed the Inspector showing a warning about a missing XR Controller when the Interactor is able to find one on a parent GameObject.
