Animation length longer than animation curve
(sorry, not native english speaker)
I try to do a relatively simple animation via unity and the component "Animator", and I see a lot of possibilities, but I encounter the same amount of difficulties.
My present problem is this: I have an animation that in the editor has a duration of 0:45, but I realized that at times when the Boolean triggering its execution is returned to false, the animation restart just enough to give an unpleasant visual effect, and stop.
I then noticed that the animation in question had a length of 0.750 in the inspector. This would correspond to the surplus that is being played. The animation has the "Loop Time" option activated because it must run in full every time, but no more no less.
Is there a reason for the length to be greater than what is expected? And if not, how can I fix this? Thank you in advance for your answers.
Your answer
![](https://koobas.hobune.stream/wayback/20220612133727im_/https://answers.unity.com/themes/thub/images/avi.jpg)