- Home /
Strange visual glitch in editor game view top corner
Hi, I'm having a really strange glitch in the top-left corner of my editor window. There seems to be a strip, about say 20pixels high and 100 pixels long, that seems as if it's Z-fighting with itself (which shouldn't be happening as not only are no two elements on the same Z plane, but most elements are rendered by different cameras).
Any insight as to what's going on? Here's a gif:
Thanks!
Did you try on standalone? (post-build) to see if the glitch is here too?
Also just as a note, although objects may have different values in the Z position (relative to the camera) if your camera has a clipping range large enough, smaller differences between those z values will essentially render as if they were on the same plane due to limited precision of the depth.
$$anonymous$$ay not be the issue at all, just something worth noting when considering Z-fighting.
Yeah, the clipping range is quite small, I think it's 20.0f or something. And it doesn't seem to happen on mobile, where I'm publishing. Hopefully it's not an issue outside of the editor, but it's still pretty worrying inside of Unity.
Answer by crisis-sheep · Jul 10, 2017 at 11:52 AM
Did you ever figure this out? I'm getting something similar. I have a hunch it could be related to broken script references on prefabs, but just not sure.
Nope, never figured out, but if I recall correctly it just stopped happening after while. I believe updating Unity fixed it. Best of luck though, I mean if you figure out what's causing it on your end you should totally post it here.