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
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
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