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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
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)