Post process "enable stencil test" crash on Unreal 5.1.1.

Hey there,
I´m trying to create an override material with Post Process volume and I am trying to exclude certain objects.
So I create the Post process material, plug in a black color into emissive and check “Allow custom Depth writes”.
But when I then check “Enable Stencil Test”, I get an immediate GPU crash.
Any idea whats causing this?

I had the same issue after I updated Windows. I know for sure it was working fine, but after it didn’t. Either way, updating to 5.2 fixed the issue.

Ah, good to know. Not sure I´ve tested this since we upgraded to 5.2