BoxCollider get stuck when dragging over the border of two BoxColliders

I have a Player with a BoxCollider that walks on cubes (I basically drag it over them). But when it reaches the end of one cube that is exactly next to another cube (there is no gap or hight difference) it gets stuck and i have to jump to get over it. Is it possible to fix this error in the collision detection somehow.

Maybe make sure there is no height difference or angle difference and that the cubes are equal and then if that doesn’t work maybe consider using a mesh collider.