Hi, I am making a 2D game and I am having trouble with my player. For some reason when I run the game, It just keeps playing a jump animation for my character:

That is a picture of the end of the jump animation.
The animator is fine. The animations have the correct frames. Everything seems right, except for when you actually play the game.
Will someone please help me?
the problem is that you are keeping transition from any state to jumping so when the game will start it will first go to idle animation and then jump and then it will replay again and again …
It would be good If you will also give a list of the parameters and where you have used them …
but I think this is the problem…
Make sure on the animation you disable looping. Also, like purnjay said, it’s possible you are transitioning between two animations over and over. In the Animator make sure if it’s going from idle or any state to the jump that the there you don’t have an arrow pointing from both objects to each other. It should look something like this but with jump in place of the run animation. Make sure there isn’t an arrow pointing back at idle because that will create a loop of jumping back and forth between the two.
Hopefully this helps? I’m not exactly sure what the problem is but that would be my guess 