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
- Right-Clicking while dragging a node throws a NullReferenceException and freezes the Graph View
- Limited information is provided when a Shader Compiler timeout occurs
- Search list view elements size setting is not preserved across other Search tabs
- Player crashes upon launch when a folder is deleted as a prebuild step
- Crash on System.RuntimeType:IsAssignableFrom when entering Play Mode in a specific scene
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.