Steps to reproduce:
- Open a Unity URP Project
- Open Render Graph Viewer via Window > Analysis > Render Graph Viewer
- Find and select the current Renderer attached to the current Render Pipeline Asset (if using Universal 3D this will be PC_Renderer)
- In the Inspector, change the Depth Attachment Format and Depth Texture Format for the Renderer between all the different settings
- Observe each changed Format in the Render Graph Viewer under _cameraDepthAttachment and _cameraDepthTExture
Actual results:
Depth_16 shows correctly
Depth_24 shows as D32_SFloat_s8_UInt (this is incorrect)
Depth_32 shows correctly
Depth_16_Stencil_8 shows as D32_SFloat_S8_UInt (this is incorrect)
Depth_24_Stencil_8 shows correctly
Depth_32_stencil_8 shows correctly
Expected results: All options display correctly in the RenderGraph
Reproducible with versions: 6000.0.23f1
Not reproducible with versions: -
Can’t test with versions: 6000.0.21f1 (see notes), 2022.3.50f1 (feature not included), 2021.3.44f1 (feature not included)
Tested on (OS): Windows 11
Notes:
- It was not possible to regression test this issue, as 6000.0.21f1 and below had another issue that made Render Graph not update any values at all: [Internal link] [URP][RG] Renderer Asset > Depth Attachment/texture format selected by user in UI is ignored by URP - Unity JIRA (unity3d.com)