Hello all, releasing render texture that is set as Camera.targetTexture is a problem that has popped up for many people with no solution. When you create a render texture in code, for example:
If you press “Alt +Enter” to toggle fullscreen or not, then the “releasing render texture that is set as Camera.targetTexture” error will pop up (I’m using SRDebugger to determine this). The result is the render texture turning completely white and all objects involved with that object like my panelCamera.targetTexture no longer have a reference to it.
Can anyone out there suggest a way to keep the render texture during full screen toggle?
I can’t reproduce it. It’s random. It happened twice, when I Saved the scene. But it doesn’t happen all the time. There doesn’t seem to be any rhyme or reason.
I’m getting this error when saving my scene. All of the Cameras lose their references to the RenderTexture upon saving. The project’s quite big so I don’t think I’ll be able to file a report, seems random.
Getting this in 5.6.0f3
I have a script(ExecuteInEditMode) that creates RenderTexture’s and assigns them to cameras on the same GameObject.
They seem to get released(inconsistently) when I play/stop.
Hi
Just sent an bug report with this error.
Almost empty scene while testing HD Pipeline with 2018.2.0f2
Target Texture field under Camera Output Settings is empty of course