This version of Unity is unsupported.

StencilState.SetZFailOperation

public void SetZFailOperation(Rendering.StencilOp value);

Parameters

value The value to set.

Description

What to do with the contents of the buffer if the stencil test passes, but the depth test fails.