Search Issue Tracker
Fixed in 2017.1.X
Votes
0
Found in
5.6.0f3
Issue ID
904199
Regression
Yes
Render() into targetTexture causes flickering of child Camera
Reproduction steps:
1. Open the attached project. Load scene "CameraTest" and enter a play mode;
2. The scene has two cameras, each one renders one cube. Child camera has depth 0, Main camera -1;
3. Press "C" to trigger the the script attached to "Main Camera". The script temporarily assigns a render texture (targetTexture), invokes the Render() method and sets back targetTexture to null;
Expected results: "Child Camera" has a higher depth order (depth=0) and does not clear any buffers. It is supposed to render the second cube based on the depth information provided by "Main Camera" (depth=-1).
Actual results: After activating the script, "Main Camera" is not drawing any longer. The buffers are not cleared and only "Child Camera" is rendering on top of the existing data.
Reproduced on: 5.6.0p3, 2017.1.0b2.
Not reproduced on: 5.5.3f1.
Reproducible both on Mac and Windows.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment