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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Add comment