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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Add comment