And I found what caused the bug and fixed itWas using a box collider for my characterThe capsule one seems better in this situation to not get stuck on the ground