Animation only plays last frame if not loop
I have an animation state that I play through script (there's no transitions in the controller). For some reason, if I check "Loop Time", it works perfectly (ignoring, of course, the fact that it is looping, which I don't want to happen). But if I uncheck it, instead of the behaviour I expected (plays once and stops at last frame), it actually skips directly to the last frame and never plays the first ones. The wrap mode is default (tried ClampForever and Once, but none of them changed a thing). Did anyone here have the same problem? What could it be? (I don't know if it makes any difference, but the animation clip was created by script) Thank you.
Answer by NikitaTheTanner · Oct 25, 2018 at 08:46 PM
Same issue, no idea what causes it,Same issue, no idea what causes it yet
Your answer
![](https://koobas.hobune.stream/wayback/20220612052633im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
prevent animation loop. 0 Answers
How to make a customizable player's animations? 0 Answers
One script to call animation on different objects 0 Answers
Set as live wallpaper 0 Answers
Disable Looping an Animation by Default 0 Answers