Description

To speed up our process of creating control rig assets we are working on a Python script to automate this process. We have an issue when we try to attach a static mesh component to a socket of a skeletal mesh component.

The provided python script will create a Blueprint asset with a skeletal mesh component and a static mesh component. The static mesh component is a child of the skeletal mesh component.

The return value of the attach_to_component function is indicating a successful attachment and the get_attach_socket_name function is printing the correct socket name, but the component is not attached.

Steps to Reproduce

Steps to Reproduce

In a default scene run the provided python script (epic_create_bp.py) to create the Blueprint.

Tools > Execute Python Script > ...epic_create_bp.py

It will create a Blueprint with a skeletal mesh component and a static mesh component. It is using default engine content as assets.

 

Have Comments or More Details?

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

0
Login to Vote

Unresolved
ComponentUE - Framework - Components
Affects Versions5.7
CreatedFeb 26, 2026
UpdatedFeb 26, 2026
View Jira Issue