Search Issue Tracker

Fixed

Fixed in 2022.2.0b12, 2023.1.0a14

Unknown (hidden) 2020.1.X, 2020.3.X, 2021.2.X, 2022.1.X

Votes

0

Found in

2020.1.0a11

2020.3.25f1

2021.2.5f1

2022.1.17f1

2023.1.0a1

Issue ID

UUM-4087

Regression

Yes

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

--

-

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.