Character Controller gets stuck on the edges of objects?

When I jump onto the edge of an object, rather than falling down (which is what my player should do), my player just get stuck. I originally thought this was an issue with my isGrounded bool but it’s not, as it is false while my player is stuck.

image

I understand that technically the collider is touching the cube object, but even when I reduce/increase the Skin Width in the inspector or even adjust the minimum move distance, there is no change. I use the in-built Character Controller and I have no colliders.

I also have basic code to make the player fall when not grounded and even though the velocity while my player is stuck is less than 0, my player remains stuck.

if (velocity.y < 0) // this is wrapped inside my isGrounded bool
{
    velocity.y = -2f;
}