This version of Unity is unsupported.

StencilOp.Replace

Description

Replace the stencil buffer value with reference value (specified in the shader).