Unity Issue Tracker - Depth Fail operation is not executed when Write Depth is enabled
Fixed
UUM-1548
Depth Fail operation is not executed when Write Depth is enabled
Unity: Graphics Device Features
HDRP
Fixed
2022.2.X
Won't Fix
2023.1.X
2022.1.X
Dup of https://jira.unity3d.com/browse/UUM-9234
Fixed in 14.0.3 (2022.2.0b9)
How to reproduce:
1. Open the user's attached "BugReproStencil2" project
2. Open the "EnableStencil" Scene
3. Select "StencilFullscreen" GameObject in the Hierarchy window
4. Toggle On/Off the "Custom Pass Volume -> Overrides -> Write Depth" boolean value in the Inspector
5. Observe the "StencilFullscreen" GameObject in the Game view
Expected result: Toggling on the "Write Depth" value disables Depth Fail execution
Actual result: The Game view doesn't change depending on the "Write Depth" value