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 grid is moved after entering Play Mode
- Tile Palette Edit mode turns off in Play Mode
- The Editor crashes when Generating Font Atlas in the Font Asset Creator with “9999999999” padding and 256x256 Atlas Resolution
- [iOS] An “ArgumentNullException” error is thrown when GetIntroductoryPriceDictionary() method is called
- Font Import Settings documentation page is missing when the documentation button is pressed in the Inspector window
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.