Search Issue Tracker
By Design
Votes
1
Found in
5.5.0b9
Issue ID
846244
Regression
Yes
Camera fails to generate a depth texture
Steps to reproduce:
1. Open the attached project (ShaderPassesWithCameraDepth.zip)
2. Open the Fog of War/Examples/1. Image Effect/Example 1.unity scene
3. Run Unity
4. Observe that everything is dark and changes brightness when rotating the camera
Expected result: The fog should be generated around game object
Actual result: Everything is dark and changes brightness when rotating the camera
Note: Assets>Fog of War>FOW>FOWImageEffect.cs at line 42 (mCam.depthTextureMode = DepthTextureMode.Depth;) does generate a depth texture
Reproduced with: 5.5.0a1, 5.5.0b9, 5.5.0b11
Not reproduced with: 5.3.6p4, 5.4.2p3
Regression introduced in 5.5.0a1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment