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
- Standalone Profiler Targets another Project if a Standalone Profiler was launched in it before when switching between Edit or Play Mode Targets
- Crash on ForwardRenderLoopJob when opening a specific project
- [Android] Memory leak and eventual crash on Snapdragon 8 Gen 1+ devices when a Clear Pass is executed after Framebuffer Fetch
- PhysicsRaycaster ray length is incorrect when casting from rotated Camera
- Crash on EnumerateDisabledKeywordsInVariantsArray or UNITY_XXH32 when rapidly saving ShaderGraph or VFXGraph changes
Add comment