[Bug] Blueprint custom node flawed

I found another low-level bug in the custom shader node in the material editor.

If you’re using a ‘static const‘ variable the shader breaks down and produces artifacts

even if you are not even using the variable.

E.g. the code

static const float x = 0;

return 1;

returns a bluish gradient, while

const float x = 0;

return 1;

returns white as it should.