Description

When using the Subobject Data Subsystem in C++, method FSubobjectData::SetupAttachment() can be used to help attaching a component to a parent at a given socket. This function receives SocketName as its first parameter, but internally it is simply ignored, and USCS_Node::AttachToName is explicitly set to NAME_None. Another function FSubobjectData::SetSocketName() can be used immediately after to set the socket name directly, which represents a workaround but also highlights that there was probably no reason for SetupAttachment() to provide the input parameter but not honor it.

Also note that USubobjectDataSubsystem and USubobjectDataBlueprintFunctionLibrary currently do not provide a way to specify a socket when handling attachments.

Steps to Reproduce

Inspect the code of functions FSubobjectData::SetupAttachment() and FSubobjectData::SetSocketName().

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-273422 in the post.

0
Login to Vote

Unresolved
ComponentUE - CoreTech
Affects Versions5.5.4
CreatedApr 17, 2025
UpdatedMay 2, 2025
View Jira Issue