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
- New Artifact generated for Video when reimporting with identical settings
- “ArgumentOutOfRangeException: Length cannot be less than zero.“ error or “NullReferenceException: Object reference not set to an instance of an object“ error is thrown when CoreUnsafeUtils.FixedBufferStringQueue reads out of bounds
- URPPreprocessBuild.OnPostProcessBuild is never executed when building the Player
- [Linux] Using CTRL+Shift+A shortcut for Add Component throws GUI Rendering Errors
- Crash on MonoBehaviour::Transfer<YAMLRead> when upgrading the Magic Leap XR Plugin
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.