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

Package: UI Toolkit

-

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)

  1. Resolution Note:

    Fixed in Unity 2022.1.0a3 and versions above

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.