Search Issue Tracker

Active

Votes

0

Found in

2020.1.0a11

2020.3

2021.2

2021.2.5f1c1

2022.1

Issue ID

1386835

Regression

Yes

[FrameDebugger] Depth buffer is shown when DrawOpaqueObjects pass is selected and an Overlay Camera is enabled in URP

FrameDebugger

-

How to reproduce:
1. Open the user-submitted project
2. Open the scene "BugReport" (Assets/Scenes/BugReport.unity)
3. Open the Frame Debugger window and click "Enable" (Window > Analysis > Frame Debugger)
4. In the Frame Debugger hierarchy, navigate to UniversalRenderPipeline.renderSingleCamera: Main Camera > ScriptableRenderer.Execute: ForwardRenderer > DrawOpaqueObjects > RenderLoop.DrawSRPBatcher > SRP Batch
5. Inspect the Scene view

Expected result: Rendered mesh is seen
Actual result: Depth buffer is seen

Reproducible with: 7.2.0 (2020.1.0a11), 10.8.0 (2020.3.25f1), 12.1.2 (2021.2.7f1), 13.1.3 (2022.1.0b2)
Not reproducible with: 7.7.1 (2019.4.34f1), 7.1.8 (2020.1.0a11)

Notes:
1. Reproducible on Windows
2. When following the reproduction steps on Mac, a grey screen is seen in the Scene view with the following warning in the Console:
Metal: Shader[Hidden/FrameDebuggerRenderTargetDisplay]: Incompatible texture type [MTLTextureType2DMultisample] of texture [_CameraDepthAttachment MSAA] bound at index 0, expected [MTLTextureType2D]

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.