PCG Static Mesh Spawner silently ignores "Static Mesh Component Property Overrides" when Execute on the GPU is enabled

(See attached video)

StaticMeshComponentPropertyOverride only takes effect when the flag ExecuteOnTheGPU is off

All error checking for StaticMeshComponentPropertyOverride turns off when the flag ExecuteOnTheGPU is off

The Template Descriptor does allow properties to be set regardless of ExecuteOnTheGPU state (though this does not allow different settings per data point like StaticMeshComponentPropertyOverride does).

[Attachment Removed]

Steps to Reproduce

(repro steps outlined in the attached video)

Create a pcg graph that spawns a static mesh with the mesh selector type set to PCGMeshSelectorByAttribute .

Add a float attribute to the data

Use that float to set a StaticMeshComponentPropertyOverride such as InstanceEndCullDistance

Add the pcg graph to the world

Toggle ExecuteOnTheGpu

[Attachment Removed]

Hi there,

I’ve just begun looking into this issue. Regarding your final note, you should be able to upload & attach a .zip file with a minimal repro project. This is how I typically have received them in the past. This would be much appreciated however the reproduction steps & video are enough for me to go on for now.

Cheers,

Louis

[Attachment Removed]

Hi again,

Thank you very much for the repro project. using your info I have done some testing and this does seem like a bug to me. I have submitted a bug report that will be visible here once it is publicly tracked.

Cheers,

Louis

[Attachment Removed]

Thanks Louis. Yesterday I was given a “zip file is not an accepted file format” error but that seems to be rectified now. I’ve uploaded the graph which you can just add to an empty level.

[Attachment Removed]