GUI.box and Orthographic zoom are not friends.

Hey guys I’ve been searching for an answer to this for a while but thought I’d reach out into the community for some confirmation. In my strategy game I’ve made a simple right-click drop down menu over my units. I’m using a GUI.box with buttons and feeding in the object position. I’m using the tooltip so that when the player navigates away from the menu it disappears.

After some initial problems coordinate translation (i.e. World to Screen to GUIspace), it all works as you might expect.*
However, I’m using an orthographic view and I have a zoom function set up on the mousewheel. So scrolling of the mouse wheel changes the orothographic size.*

My problem is that my GUI.box or it’s Rect component scales with the change in zoom. This looks unusual, and sometimes the mere act of zooming places the mouse cursor outside of the box due to this downsizing effect.*

Does this have something to do with normalizing viewports? As I’m not sure what that is. I do realise that I could just substitute this GUI component for a GameObject and use RayCast and onMouseOver. I just thought it would be nice to use GUI components as they are intended, with GUI skin etc tying everything together.*

Any advice? Thanks in advance.

Okay judging from that maybe I’ll go with the custom gameObject method. It would be nice if someone would explain more clearly what is happening here though.