Search Issue Tracker
Fixed in 2018.3.X
Votes
1
Found in
2017.3.1p3
Issue ID
1017833
Regression
No
Animation Event is not called at last frame of Animation Clip when passing to OnStateExit
Reproduction steps:
1. Open the attached project "Not Fire Event.zip";
2. Open the test.unity scene;
3. Enter a play mode;
4. Observe the output in the Console.
Expected results: The last output in the console should be "Last Frame Of Animation."
Actual results: The console stops at "Previous Frame Of Last Frame Of Animation."
Reproduced on: 2017.1.3p2, 2017.2.2p2, 2017.3.2f1, 2018.1.0b13, 2018.2.0a6.
The workaround is to set Exit Time to 1.01 and unset the loop on animation clip (workaround scene shows this)
Comments (1)
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
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
- Entities Hierarchy window allows Cyclic nesting and throws an “ArgumentException: Cyclic nesting detected” error when dragging a Prefab onto the same Prefab in the Entities Hierarchy
- EnterPlayModeOptions doesn't take effect if user manually modifies m_EnterPlayModeOptionsEnabled to 0
- VFX Graph Documentation dropdown button does nothing when clicked on the right side
UselessCookie
Dec 05, 2018 22:10
Even though this issue was repordetly fixed I am still getting the same behaviour on animation events at the end of animations when transitioning over to another animation (even when having set transition times to 0, etc.)
Clearly this issue only appears when the machine is having a hard time keeping up with animation playback (skipped frames) or there is still a sort of Pseudo-Transition at the end that keeps animation events from happening.