Search Issue Tracker
Fixed
Votes
0
Found in [Package]
1.0.0-preview.14
Issue ID
1344396
Regression
No
[UI Toolkit] MouseEnterEvent/MouseOutEvent is called repeatedly when using ITransitionAnimations' Scale animation on Button
How to reproduce:
1. Open the attached project's Scene labeled "SampleScene"
2. Enter the Play Mode
3. Mouse over the Button
4. Inspect the logs in the Console Window
Expected result: MouseEnterEvent/MouseOutEvent is triggered once when hovering over/moving away from the Button
Actual result: MouseEnterEvent/MouseOutEvent is called multiple times
Reproducible with: 1.0.0-preview.14 (2020.3.13f1, 2021.1.14f1), 2021.2.0b1, 2022.1.0a1
Couldn't test with: 2019.4.28f1 (UI Toolkit not available)
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
- UI Toolkit Button text is not rendered when the Button has fixed height with specific Icon font
- Unable to bind RenderTexture to the VisualElement's StyleBackground property
- SVG fails to import when 'stroke-miterlimit' is less than 1
- Test Runner fails to create a script in the active path when selecting a file as the active path
- Shader Graph Swizzle Node Input/Output and Mask Update Incorrectly After Undo
Resolution Note:
Fixed in Unity 2022.1.0a3 and versions above