Mesh Collider not working so good

So I have two images below one where it shows the basic layout of what the tunnel looks like, and then the one after that shows what happens if you walk up to a wall diagonaly. How can I make this stop, i’ve tried messing around with clipping planes and making colliders on the player larger. Is there any other way by scripting or a good way of doing it with clipping planes or colliders?
[8148-\problem.png|8148]

[8149-\problem2.png|8149]

Mesh Colliders are usually inaccurate and unreliable. I would suggest using multiple primitive colliders instead, such as cubes.