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
- VFX Graph effect instance stops rendering when a second instance of the same effect starts 2 frames later
- Operations on the Color32 array are not reflected in WebGL Player when HDR is off
- Rigidbody moves away from the original GameObject when Center of Mass is set in every frame
- WebGL Player does not proceed beyond logo screen when "Target WebAssembly 2023" is enabled
- "NullReferenceException" error thrown in UnityEditor.ObjectListArea when an audio clip is selected in one of two opened Project tabs while the second Project tab is not active/painted
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.