Material Function stop working when turning Constant 4 vector into vector parameter?

Hi Eric,
Yes, I’m using tons of IF nodes in the material function.
Thanks!