How do I turn off the yellow rectangles around 2D colliders?

Every object with a 2D collider on it has a yellow rectangle around it. This didn’t use to be the case in older versions of Unity but they appeared when I updated. (Currently on 2022.3.25f). They’re cluttering up the scene view and I can’t figure out how to turn them off.

Well, actually I can turn them off by clicking that button on the top right of the scene window that toggles the visibility for all gizmos, but I don’t want to turn off all gizmos. I want to be able to keep other gizmos visible but specifically hide these yellow squares.

Normally with other things this would be done by opening the dropdown menu next to the “all gizmo visibility” button and turn off the specific thing, but there doesn’t seem to be anything in the list for these yellow squares.

For reference, here’s a scene with some circle colliders. I’ve unchecked every single gizmo in the list and the yellow squares are still visible.

It’s really annoying as all these yellow squares are cluttering up my scene view, making it hard to see anything and is forcing me to work without any gizmos at all visible.

If anyone knows how to hide them while keeping other gizmos visible that would be much appreciated.

1 Like

Found the solution. If anyone else runs into this and wants the answer, go to Project Settings > Physics 2D > General Settings, near the bottom click the drop down menu next to “Gizmos” and turn off “Collider Bounds”.

3 Likes