Search Issue Tracker
Fixed in 1.0.0
Votes
0
Found in [Package]
1.0.0
Issue ID
1360188
Regression
No
[UIToolkit] The button.clicked callback is triggered when hovering the mouse up on the blocking element
Reproduction steps:
1. Open the attached user's project "UIToolkit Bug.zip"
2. Open the "Main Menu.unity" Scene
3. Press the Play button
4. In the Game view, press and hold the "R1" button with the left mouse button
5. Hover over the backside of the button that is hidden and observe the button
Expected result: The button animation is not triggered
Actual result: The button animation is triggered
Reproducible with: built-in UI Toolkit (2021.2.0b15, 2022.1.0a11)
Could not test with: 2019.4.31f1 (No UI Toolkit package available), 2020.3.20f1, 2021.1.25f1 (Project breaks, Console errors)
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
- WebGL Player with WebGPU Graphics API fails to render Scene when custom Render Feature is used
- “EndLayoutGroup” error thrown when changing Shader Precision Model settings in Build Profiles window > Player Settings Overrides
- Button hover state uses default theme color when a custom .uss is applied
- Samples Showcase script warning does not clear after enabling required settings until GameObject is reselected
- VFX Particles receive shadow artifacts when using ShaderGraph with enabled shadows and Face Camera Plane Orient mode
Resolution Note (fix version 1.0.0):
Fixed in: (1.0.0) 2022.1.0a15
Resolution Note (fix version 1.0.0):
Fixed in: Built-in UI Toolkit 1.0.0 (2021.2.16f1)