so I am making a maze game and performance is really important to me so I wanted to know if i should use a lot of box colliders or 1 big mesh collider for the walls and floors?
Well, the most optimized solution I can think of is where it’s all one big mesh and you’ve generated your own mesh. If I understand correctly, one mesh containing tons of merged objects is more performant than those individual meshes.
Another solution can be to try make bigger maze pieces so there are less colliders.
Also maybe if you have the colliders spawn dynamically as the player gets close.
*Edit, you could also look into combining mesh solutions.