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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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.