# \[Bug\] Blueprint custom node flawed

**URL:** <https://forums.unrealengine.com/t/bug-blueprint-custom-node-flawed/2702457>\
**Category:** Blueprint\
**Tags:** bug, unreal-engine, bug-report, Shaders\
**Created:** [February 26, 2026, 10:31am UTC](https://forums.unrealengine.com/t/bug-blueprint-custom-node-flawed/2702457 "2026-02-26T10:31:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![klen\_dhatu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@klen\_dhatu](https://forums.unrealengine.com/u/klen_dhatu)\
**Post date:** [February 26, 2026, 10:31am UTC](https://forums.unrealengine.com/t/bug-blueprint-custom-node-flawed/2702457/1 "2026-02-26T10:31:07Z")

</div>

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.
