Python function commit_skeleton_to_skeletal_mesh() deleteing MetaHuman bones?

image

In Python, UE 5.3, using the SkeletonModifier method commit_skeleton_to_skeletal_mesh() on any MetaHuman skeletal mesh containing a bone suffixed “dyn” will remove all the bones with suffix “dyn” from the MetaHuman skeleton & all skeletal meshes, without calling any other functions in the script.

Turns out, all imported MetaHuman skeletons contain this bone but it is never used by any of the skeletal meshes. I wonder if the method commit_skeleton_to_skeletal_mesh() checks for any unused bones and removes them from any dependent skeletons & skeletal meshes.

Are these extra “dyn” bones simply overlooked by Epic? Would the source code tell me exactly what this method does?

Not a concern, just something I noticed.