[4.24]Cannot implement HLSL in custom node in material editor

you should add “return 1;” at the end. like this:

#include “/Project/Shaders/XXXX.usf”
return 1;