diff --git a/Editor/MergeArmatureHook.cs b/Editor/MergeArmatureHook.cs index 42942fb7..cd0d05cc 100644 --- a/Editor/MergeArmatureHook.cs +++ b/Editor/MergeArmatureHook.cs @@ -107,6 +107,9 @@ namespace nadena.dev.modular_avatar.core.editor if (c.rootTransform == null) c.rootTransform = c.transform; RetainBoneReferences(c); } + + foreach (var c in avatarGameObject.transform.GetComponentsInChildren(true)) + RetainBoneReferences(c); #endif foreach (var c in avatarGameObject.transform.GetComponentsInChildren(true))