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
- Typos in High Definition 3D sample tutorials
- “Handles.Repaint called outside an editor OnGUI" error is thrown in the Console when creating a new Tile Palette from the Tile Palette Overlay in Scene view
- Shader Graph window icon is blurry and low quality when the Shader Graph is created using the Universal 2D template
- “Export HDRP Sky to Image” command error message does not indicate that Game view must be visible
- Adaptive Performance Settings Framerate field doesn't display the "supported without VSync" warning, when the field is collapsed in Build Profiles
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.