After 4.20 custom materials aren't working with depth/stencils.

A post processing effect that was working in an older version doesn’t work in version 4.20. It looks like the depth/stencil buffers aren’t working properly, do you know why this wouldn’t be working anymore?

+1 same problem here. Anyone know a fix ?

Please Refer this thread.