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
- UI Toolkit rendered text breaks when toggling FontWeight styles through code
- Transparent pixels are still hit when alphaHitTestMinimumThreshold is set to a non-zero value
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
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.