How do I avoid getting stuck between two cubes that have zero gap between them?

I am using a tilemap for a 3D game that plays as a 2D platformer. So the geography is made up by cubes that are mathematically perfectly placed beside each other with zero gap. My character, who I don’t want to be any shape different than a square as well, is getting stuck on the ends of the ground randomly. It sometimes glides right over, other times it does not. I have changed the friction of the player and geography, it doesn’t fix it. I am starting to feel hopeless because this seems to be Unity’s weakpoint as I Google this problem. I use java script if you have any solutions involving a script.

I ended up building a weird work around where now the player is technically hovering a tiny bit off the ground.