Material with custom code and tesselation does not compile

Hi guys,

Is there a way to do the same thing ? I mean, I am trying to compute my own normal maps and I try to alter the mesh in order to do procedural environments but always blocked by this bug. Can I do something to have the same result and that will work ?

Thank you in advance,

PM