Why does my sprite changes position after animation transition?

I am trying to make the player change between walking and idle animations depending on if they are moving or still. The animations are working, and are transitioning correctly, but when the player transitions into their idle animation, the sprite moves to below the floor. When the player starts walking again, the sprite moves back to the correct position.




You can export your project to unity package and upload it and share me to help you fix this problem.