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
- Popup windows spawn on the incorrect monitor when the Editor is placed near the boundary of scaled monitor next to a monitor with different scaling
- Hidden Tabs do not shift into empty space after closing visible Tabs
- [Android] Application not deployed on a device when "activity-alias" is used in the AndroidManifest
- Shader compile process adds shader ID to the constant buffer name when the word "Globals" is being used in Vulkan
- Audio Mixer Snapshot link to the documentation isn’t working
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.