Animation loops seems to hang on last frame

Hi,

I have a strange problem. I have created a simple rotation animation by using the Unity Editor:

My problem is that the animation does not really loops. It seems to hang on the last frame (where Rotation.y hits 360), stops for a split-second and then starts again at 0 degrees. I have no idea why this happens. I checked “loop” and “loop pose”, I also changed the last key-frame to 359 (since 0 degree and 360 are the same), but it still seems to hang on the last frame.

Any idea how to fix this?

Thank you in advance.

I fixed the problem. The curves weren’t right. After I made them linear, everything is as intended.

How do you did that?

(2019.1) Open the “Animation” tab, select the “Curves” tab near the bottom next to “Dopesheet” (you should now see lines that look like a graph), press “Ctrl + A” to highlight all nodes, right click on a node and select “Both Tangents” → “Linear”