Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.3.0p1
Issue ID
1008702
Regression
No
Depth render texture dissapears in OnRenderImage() or OnPostRender() on DX11 if camera's last draw call
To reproduce:
1. Open attached project;
2. Open "test" scene (you'll see 3 game objects: Cube references a depth render texture in its material; Cube(1) is a default cube; Quad is for debugging, it paints the depth texture all the time);
3. Make sure "Cube" has "MoveCube" script attached and Speed (f.e. 2) and Duration (f.e. 5) values set;
4. Enter Play mode;
5. Compare results between DX11 and OpenGL 4.5, also check differences with the Frame Debugger.
Notes:
-when running the scene, the script will also draw the depth texture on screen by OnRenderImage();
Expected result: objects don't disappear from the screen.
Actual result: when "Cube" moves far enough from the Camera, the screen becomes black.
Reproduces only with DX11, doesn't reproduce with OpenGL 4.5.
Reproduced on versions: 2017.1.3p2, 2017.2.2f1, 2017.3.1p3, 2018.1.0b10, 2018.2.0a3.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Tile Palette] Sprites not rendering when brush tool "Paint a filled box with active brush" is used for the first time
- Adding available Nodes with longer names in Fragment Context window overflow Fragment Context window in Shader Graph
- "Layer Palette Profile" Asset is automatically applied to the second Terrain but doesn't load any layers
- "Terrain Tools" shortcut conflicts with the Overlays shortcut by default
- Longer Shader Graph Property Reference names breaks VFX Graph Output Particle Node
Resolution Note:
Closing as won't fix as we have no maintainer and the bug is old. If it still an issue and is important, please create a new bug.