Deformer Graph can't compile

I’m trying to replace the Flare constants with variables to use in a control rig. When I try to follow the instructions from unreal (Creating Deformers in Unreal 5.5 | Talks and demos), I get a bunch of errors. Some are saying no ; on several declarations, and others are not recognizing the DebugDraw declaration or what appear to be standard functions, like MatrixInvers_Affine. I tried rebuilding the shader outside of the source flare deformer, and got the same errors. I’m guessing it needs some programming environments installed on my machine to work properly, but that’s a bit of a bug if these are meant to be accessible to artists using the engine. Here are the errors from the flare recompile when I replace the constants with variables. The following image is what I get when I try to compile in my own deformer graph, but also after I removed the debug functions. From some web searches I think the undeclared functions are supposed to be common shader functions that a compiler should recognize.


Is there anything I’m missing that I can do to fix these issues?

Thank you for the report! Sorry for the delayed response!

Are you able to compile a simpler deformer graph? Or a deformer graph available under the “Deformers” folder in the Deformer Graph plugin such as the DG_LinearBlendSkin?

It would help me identify the issue if you can provide a screenshot of the entire graph you are compiling, the shader code for your custom kernel if you can share, as well as a screenshot of the details panel when you have the compute kernel selected.

Functions like MatrixInverse_Affine are declared in a DeformerSourceLibrary asset called DSL_Matrix from the DeformerGraph plugin, you will need to manually add this asset to the “Additional Sources” property of your custom compute kernel.

Thanks,

Jack