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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment