Unresolved External Symbol with FPCGObjectSingleOverride

Hello,

I’m currently working on a road building system in PCG. I have a PCG graph spawning roads along a spline, and spawning BP actors at where the intersections should be. The intersections are using Dynamic Mesh’s to find the roads to connect to.

When doing the trace from the intersection to the Spline Mesh Component spawned by PCG the location of the component is always at the world origin. I’ve created a couple other custom nodes for my graph so far, so I was going to create a copy of the PCGSpawnSplineMesh node to add the adjustment of the component to match the actual mesh location.

When Copying the code over I get the Unresolved External Symbol error regarding the FPCGObjectSingleOverride struct. I’ve attempted to add the PCG module to my build.cs file and that didn’t fix it.

It appears that the structs in the PCGObjectPropertyOverride.h file are not exporting as they don’t have the PCG_API associated with them in any way, is there any way I can use FPCGObjectPropertyOverrideDescription in my custom nodes?

1 Like