2.5D platformer main character collision

character is not colliding with any of the platforms or walls in the game, all the platforms and walls in the game have box colliders attached and the main character has a character controller on it.

any suggestions?

Use Collider.OnCollisionEnter