PCG Spline mesh spawner ComponentClass ignored ?

Hello UDN !

It seems that on the PCG Node “SpawnSplineMesh”, the parameter “ComponentClass” is ignored. I wanted to use this parameter in order to spawn spline meshes from a custom component ( child class of SplineMeshComponent of course ).

After looking in the CPP, it seems that it’s not used at all, any particular reason for that ? Hidden issue we might face if we change this behavior ? ( on Line 294 of the PCGActorHelpers.cpp file )

See the attached code screenshots with our potential fix.

Thanks,

Guillaume

Steps to Reproduce
Create any simple SpawnSplineMesh node with a custom component in the ComponentClass parameter, the PCG Spline Mesh component spawned will be the regular one not the custom one.

Hi Guillaume!

That certainly looks like an omission on our part.

We’ll have a look, thanks!

Cheers,

Julien

I’ll create a Jira on our end and will look at it! Thanks Guillaume :slight_smile: