Search Issue Tracker
Fixed
Fixed in 2021.3.35f1, 2022.3.20f1, 2023.2.9f1, 2023.3.0b5
Votes
0
Found in
2020.3.41f1
2021.3.13f1
2022.1.22f1
2022.2.0b14
2023.1.0a18
2023.2.6f1
2023.3.0b3
Issue ID
UUM-20723
Regression
No
UI Toolkit VisualElement keeps firing mouse events after setting element visibility to Hidden if mouse wasn't moved
How to reproduce:
1. Open the attached “HiddenButtonEventsBug.zip” project
2. Open “SampleScene” scene
3. Enter Play Mode
4. Click on any button. Don't move the mouse after clicking
5. Open Console window and note the log message
6. Click again on the button without moving the mouse
7. Note the log message in the Console window
Expected result: Button disappears and another one appears in its place after clicking and Console prints clicked button
Actual result: Button disappears but Console Log prints another button as if it was still visible if the button is clicked without moving the mouse
Reproducible with: 1.0.0-preview.18 (2020.3.41f1), 2021.3.13f1, 2022.1.22f1, 2022.2.0b14, 2023.1.0a18
Reproduced on: macOS 12.6 (Intel)
Workaround: Behavior returns to normal if mouse is moved after the click
Note: Also reproducible in Build
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on TextCore::OTL_TableReader::GetOpenTypeLayoutTables when using Japanese Font as TMP Fallback
- TreeView.AddItem performance regression when opening EditorWindow
- Shadows are not visible in Player when using DX12 with Forward+ or Deferred+ rendering in URP
- Rendering Debugger Playmode debug UI scrolling is jittery when using click and drag to scroll
- Frame Debugger Target Selection Search Results window becomes too tiny to even see the default “Editor” selection when there are no search results
Add comment