I'm drawing a gui using OnGUI, and have a keyboard shortcut for showing/hiding it. Toggling visibility causes some weirdness on 3d text-meshes using the standard GUI/Text Shader. Rendering of them changes, sometimes to a dark color, sometimes they disappear. It happens consistently in builds when toggling the GUI on/off, never in the editor:
Has anybody encountered this?
I'm toggling by setting a bool in Update:
And drawing gui based on that bool:
asked Jun 15 '10 at 10:13 AM