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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment