[4.18.2] Spline mesh components don't move with attach parent

Haven’t used spline meshes for a bit so uncertain if this is a new bug or a regression or something, but currently any spline mesh components do not move with their attach parent in the components panel, when the actor is spawned in the level.

This happens in editor mode.

This happened in a brand new C++ Third Person template project I just opened up today.

Workaround: Manually use an ‘AttachTo’ node in the construction script.

Hello Nightmask,

Thanks for the report. Trying to replicate this on my end.

Is the Spline mesh spawned in the construction script?

Are you talking about moving it with the editor widget, or movement during gameplay?

By editor mode do you mean “Play in Editor” as opposed to Packaged projects?

Thanks,

Hey ,

To answer your questions:

  1. The spline mesh is created in the details panel, not in the construction script.

  2. By editor mode I meant not in ‘Play’ mode at all, wasn’t certain how to call it, but ‘moving it with the editor widget’ is more descriptive of the repro action, so use that instead.

By spawning in level I mean just the regular drag-and-drop from the content browser, so maybe ‘placed in level’ was a better way to say it.

Hello Nightmask,

I am unable to replicate the behavior you are describing.

Two things I noticed - Be sure the SplineMeshComponent is set to “Moveable” and be sure to be updating the Start Pos and End Pos are being updated in the construction script.

Also, the attach parent I tried with was a Static Mesh

Feel free to add more info/repro steps if you like!