2D platformer composite collider animation bug

I am making a 2D platformer and I’m making levels with tiles. I want to use the composite collider for ground tiles because the player will sometimes get stuck on edges of tiles if I use the tilemap collider. I have a jump animation on the player that activates when the y velocity of the player is not zero.
For some reason, when I enable the composite collider on the ground tiles and jump while moving left or right (x velocity is not zero), when the player lands on the the ground (while still moving), the y velocity is not zero for some reason. If I stop moving (x velocity is zero) only then the y velocity becomes zero. It is really annoying because the jump animation keeps playing while the player is on the ground. This happens only when I use the composite collider and it doesn’t happen when I use the tilemap collider.

Why does this happen and how can I fix it?

@Fran_Zarko
This Problem occurs due to large value of Exit Time. Change the value of Exit time between 0.1 to 0.9 as per your requirement.

Hi!

Have you solved this bug?

I was with the same problem… and i solved only changing de offset in the Composite Collider to 0.

Works for me…

Bye!!