Search Issue Tracker
By Design
Votes
1
Found in
2018.4
2018.4.21f1
2021.1
Issue ID
1251985
Regression
No
Animator state is exited before animation is completed when Exit Time is set to 1
How to reproduce:
1. Open the attached project from "AnimBugTest_1251985.zip"
2. Open scene "SampleScene"
3. Enter Play Mode
4. Click the button labeled "Start" in Game View
5. Observe Console
Expected result: By the end of the animation Alpha should show 0
Actual result: By the end of the animation Alpha variable fluctuates around 0, but never 0
Reproducible with: 2018.4.28f1, 2019.4.13f1, 2020.1.10f1, 2020.2.0b9, 2021.1.0a2
Notes: One workaround is that you can add a single frame animation to the Idle State. So even if the previous State does not fully finish playing the animation, the Idle State shows the final frame so visually everything looks correct.
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note:
This is by design. We don't guarantee that the last frame of the animation is evaluated because the frame rate can differ and the animation system needs to respect the delta times.
Turning on Write Default allows for deterministic evaluation.