Search Issue Tracker
Fixed
Fixed in 2.6.4, 3.0.7
Votes
0
Found in [Package]
2.6.3
3.0.6
Issue ID
XRIT-203
Regression
No
Mouse and Pointer Events are called incorrectly in ScrollView with XRUIInputModule
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Scenes/SampleScene” Scene
3. Enter the Play Mode
4. Hover over a button in the Game View
5. Observe the Console window
Expected result: Only “OnPointerEnter” and “OnMouseEnter” events are called
Actual result: “OnMouseEnter” is not called and both “OnPointerLeave” and “OnMouseLeave” events are called
Reproducible with: 2023.2.11f1, 2023.2.20f1, 6000.0.26f1, 6000.1.0a3
Not reproducible with: 2021.3.45f1, 2022.3.52f1, 2023.2.10f1
Reproducible on: Windows 10
Not reproducible on: No other environment tested
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Linux] Cannot reorder GameObjects in the Hierarchy when the AI Assistant package is installed
- [iOS] Text Input field stops receiving changes when the "Cancel" button is used on the soft keyboard
- [WebGPU] URP RenderGraph RenderPass doesn't clear textures
- Query Builder items display raw code style names instead of human readable labels in search field
- “+” button does nothing and has no functionality when clicked in Human Template "Bone Template" list
Resolution Note (fix version 3.0.7):
When using UI Toolkit, typically it will install an event listener in the form of the `PanelEventHandler` component which intercepts events from the `XRUIInputModule`. However, the `XRUIInputModule` currently does not support sending UI Toolkit events from the Event System on behalf of the XRUIInputModule.
Instead, `EventSystem.SetUITookitEventSystemOverride` can be called to bypass this default mechanism when it becomes the current/activated Input Module by the `EventSystem`.
You can activate this function via the Unity Editor in the XR UI Input Module called **Bypass UI Toolkit Events**.
Resolution Note (fix version 2.6.4):
Added an optional bypass for UI Toolkit events that may cause incorrect events to get sent to UI Toolkit elements such as scroll views.
Bug does not occur using Unity 2022.3.62f1 after editing Package Manifest to use XRI 2.6.4 then updating Starter Assets XRI package sample.