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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.