Search Issue Tracker
By Design
Votes
1
Found in
2021.3.36f1
2022.3.20f1
2023.2.13f1
2023.3.0b10
Issue ID
UUM-65377
Regression
No
Animation Event triggers from the previous Animation when the Animation is already changed
Reproduction steps:
1. Open the “ReproProject“ project
2. Open the “Assets/Scenes/SampleScene“ scene
3. Enter Play Mode
4. Observe the Console window
Expected result: Only “Play go up” and “Play Idle“ logs are printed in the Console window
Actual result: “This method shouldnt play“, “Play go up” and “Play Idle“ logs are printed the Console window
Reproducible with: 2021.3.36f1, 2022.3.20f1, 2023.2.13f1, 2023.3.0b10
Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: No other environment tested
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
- [URP] All materials render black when building via batchmode or without rendering Scene/Game view in Editor if Decal renderer Technique is set to "Automatic"
- Player Tags list shows extra blank space behind the scrollbar in the "Player Tags" settings window
- Edit Angular Limits gizmo handles are small and easy to miss-click in the Scene view
- Duplicate Player Tag save fails silently with no error or validation message
- Letters on the left side move further as Letter Spacing is increased when Advanced Text Generator is used and Alignment is set to Center
Resolution Note:
The way it is designed at the moment is that during the internal animation update, the Fire Animation Events will fire all events that occurred between the time of the last update loop, and the current update loop. There is no special case made that will stop firing events if a state machine structural change is made (for example, by calling animator.play). This means that in the user case, those two events will be called in a single update loop.
While this is not something we're going to change or fix in the current animation system, it is something that we are taking into consideration for the next one, as the use case is a valid one