Reproduction steps:
1. Open the attached “URPDepthWarningRepro.zip” project
2. Open the “Assets/Scenes/SampleScene.unity“ Scene
3. Open the Game view tab
4. Click the Gizmos button in the toolbar of the Game view to enable Gizmos
5. Observe the Console window
Expected result: No warnings are thrown
Actual result: “Attempting to render to a depth only surface with no dummy color attachment” warning is thrown
Reproducible with: 2023.3.0a18, 6000.0.32f1, 6000.1.0a8
Not reproducible with: 2022.3.55f1, 2023.3.0a17
Couldn't test with: 2021.3.47f1 (Could not resolve compilation errors)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Note: If the issue does not reproduce, enter the Play Mode and enable Gizmos