AttachToComponent / Socket parenting broken

AttachToComponent doesn’t work as it should any more, if binding to a socket and preserving world offset, the world offset should be preserved.

Instead, now it flips away somewhere seemingly at random, and breaks any previously attached/parented setups, causing a lot of problems.

It can be reproduced in a fresh FPS template and try to position something somewhere on the FP player mesh (or any animated skeletal mesh), parent it to a socket and use preserve world offset, and the parented mesh rotation and position will not be where it should be.

I can confirm this. The eyes of my character are now in the wrong place.

Unreal 4.18:

vs

Unreal 4.19:

It’s embarrassing.

Is there a workaround?

Hi! My current workaround is to add a simple sphere skeletal mesh (that has a socket or bone ofc) and snap attach that to the sockets I would have attached the other meshes to. Set the dummy sk meshes to invisible and drag-drop attach the other meshes onto the new dummy sk meshes, and select something to parent them to in the drop down menu in the component options.

It will still get wierd offsets initialy but here you can move, rotate and scale the visual meshes to be where they should be.

234550-derp1.jpg

234561-derp2.jpg

(depending on use etc you might not need to parent in component settings)

Hope this helps.
Have a MAD day!

Thanks!
I’ll try that.
Though I hope they fix this soon!

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1410408-unreal-engine-bug-submission-form

Thanks

This is working even worse after the 4.19.1 hotfix… The results from “keep world scale” (or any other scale settings) while working in the bp editor now completely desyncs from what you see with what happens after the actor is placed in a level and the scale of the parented meshes are completely insane.
I’m really stressed for time so I don’t have time to look into it, I’ll just have to hotfix it somehow and move on for now…

1 Like