Hey guys!
Here is a problem that has bothered me for a long time。
If there is more than one camera in the scene,And set the main camera.targetTexture = null
I’ll get a warning that it won’t be cleared
“Tiled GPU perf. warning: RenderTexture color surface (1280x720) was not cleared/discarded. See TiledGPUPerformanceWarning.ColorSurface label in Profiler for info”
More strangely,At this time, the image in the main camera buffer is inverted
Does anyone know what’s going on?
How can I correctly set the targetTextureof the main camera empty?
My Unity version is 2018.4.35f1,Using the built-in rendering pipeline
In the attachment is the scene of reproducing the bug
7427879–909452–bugTargetTexture.unitypackage (709 Bytes)
7427879–909452–bugTargetTexture.unitypackage (709 Bytes)