You can try to copy paste the nodes out to the material, thus removing the material function.
GetVisibleMaterialParametersFromExpression()
Is probably folded in the PixelNormal node.
If so, your material/instance will crash again by just calling in that node.
The rest being straight up math, I don’t really see wher else the error point could be…