Reproduction steps:
1. Open the attached “RenderPassDepthClearFail.rar” project
2. Open the “Assets/TestDepthClearFail/TestDepthClearFail.unity“ Scene
3. Select the “Cube” GameObject in the Hierarchy window and drag it around the Scene view
4. Observe the Scene view
Actual result: The depth buffer fails to clear and ghosting artifacts appear behind the moving object
Expected result: The depth buffer is cleared correctly and no ghosting artifacts appear
Reproducible with: 6000.0.22f1, 6000.0.81f1, 6000.1.4f1
Not reproducible with: 6000.0.21f1, 6000.3.21f1, 6000.5.7f1, 6000.6.0b7, 6000.7.0a4
Fixed in: 6000.1.5f1
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Note: Only reproducible with DX11