Search Issue Tracker
Won't Fix
Votes
4
Found in
2017.4
2018.4
2019.2
2019.3
2019.3.0b10
2020.1
Issue ID
1199593
Regression
No
Animations do not play completely/get stuck when FPS/frame rate is low
How to reproduce:
1. Open attached project "UI_Environment.zip" and scene "Sample Scene"
2. Enter Play mode
3. In Game view, press "Play Intro" button
4. In Game view, press "2 FPS" button
5. Observe the spinning red image
Expected result: the red image is spinning
Actual result: the red image stops moving
Reproducible with: 2017.4.35f1, 2018.4.13f1, 2019.2.14f1, 2019.3.0f1, 2020.1.0a15
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
- Red spots appear when Blending Lighting Scenarios using Adaptive Probe Volumes
- [Windows] About Unity Window needs to be opened twice to adapt to resolution
- NullReferenceException and temporary graph corruption after entering playmode if output node connection was changed
- Sprite Renderer with Animation does not reflect Sprite changes in the Scene when switching Mask Interaction
- User is redirected to a non-existing online documentation link when clicking on "?" help button inside Inspector window while Animator Override Controller is selected
Resolution Note:
Animations are not guaranteed to play the last frame before a transition. This is to make sure playback is smooth, and because the animation system always evaluates only a single time per frame. You can't both have the correct frame playing in the new clip and the last frame having played too.
Whether or not that is the best behaviour is up for discussion, but too many existing games rely on the current behaviour staying unchanged, and we will not change it at this point.
If you absolutely need the last frame to have played, you can make your transition dependent on either the result of the Animation's last frame having played, or change the transition condition parameter based on an AnimationEvent that is on the last frame. The tradeoff will be that your transition will not be as smooth.