3D Objects won't render correctly?

Hi! So this is my first time using Unity in a few years and I’m wondering why this feature I recently implemented messes with the rendering order.

I have two blocks that render correctly when are they put into the game, but when I use this tool that modifies their scaling, certain camera angles have the elongated block rendering in front of the normal block.
7656070--955126--Screenshot (69).png 7656070--955129--Screenshot (70).png
All I’ve done between these two photos is move my in-game camera. What’s causing this, and is there an easy fix for it?

Thank you for any advice!!

Looks like maybe you’re using a shader that doesn’t set Z depth properly, like a sprite shader or something.

It might also do weird things if you set the scaling negative at any point in the transform hierarchy.

Or maybe these are Gizmos? Not sure what the rules are for Gizmo draw order; I think it is immediate mode, but maybe someone else could chime in.

Unfortunately the scaling never goes negative and these aren’t Gizmos. I am using Unity’s default shaders and I haven’t explored those yet, so for now I could tinker around in those settings to see if that would fix anything. Thank you for the reply!