Just tried my current project in the latest Unity Beta 5.4.0.b17 and I have two errors thats seems to happened randomly (but I’m pretty sure t’s not) and made Unity stop working as expecting - forced me to restart every time it happened. Those errors are :
!attach.depth || !attach.depth->backBuffer
and
RenderTexture warning: Destroying active render texture. Switching to main context.
I work on Macbook pro Retina 13" - OSX El Capitan 10.11.3
I’ve gotten this error (the one in the topic’s title) a few times now as well. They happen in play mode in the editor. I haven’t found any ways to reproduce it. Seems to happen out of nowhere. It then messes up the play view by freezing whatever it was rendering at the time. Exiting and entering play mode doesn’t redraw the game view thereafter.
I get this too. Usually I can toggle out of Game view to Console, and that clears it. I don’t need to restart or anything. I think it’s an OpenGL error related to he Editor.
I can confirm the error (Game view freezes randomly on play) and that hiding Game view by toggling in and out to another tab (console) works as a workaround.
Note: still getting the depth version as well. This happened when I was changing the z value of a GameObject with a sprite renderer from 0.0 to 1.0 in the editor.
The game view’s pixels became uninitialized garbage.
Getting this error to the point of the editor being nearly unusable.
Fairly sure they’re just gonna’ ship it in this condition, unless they’re deliberately leaving this broken because it’s part of something required for beta testing but not production release.
Has anyone filed a bug report on this? It is such an intermittent error, that I have not found a reproducible test case. Now I am working mainly on PC where it’s not an issue, but it’s a pain when I get back onto the Mac if it’s still there. A search shows no open case, so I don’t think Unity is aware of this problem: