Blender-For-UnrealEngine-Addons icon indicating copy to clipboard operation
Blender-For-UnrealEngine-Addons copied to clipboard

Unexpected renaming of head bone

Open tarnishablec opened this issue 6 months ago • 7 comments

I was exporting a UEFN_Mannequin skeletal mesh from blender to unreal, but head bone name was renamed from "head" to “head1” with no reason

Image

Image

tarnishablec avatar Jun 11 '25 22:06 tarnishablec

https://mega.nz/file/pPlDGRrS#pKZ7XmA4CG2wuXQwbFdfl_YacJiskQvqeg0lZGJPja8 this is the blend file if you want some test

tarnishablec avatar Jun 11 '25 22:06 tarnishablec

Hello @tarnishablec Thanks for the file I will try very soon. The addon should not rename any bones, maybe you have a plugin that do it in Unreal Engine? Also what version of the engine are you using ?

xavier150 avatar Jun 12 '25 03:06 xavier150

Hello @tarnishablec Thanks for the file I will try very soon. The addon should not rename any bones, maybe you have a plugin that do it in Unreal Engine? Also what version of the engine are you using ?

Using 5.5, also appears in 5.6 plain project

tarnishablec avatar Jun 12 '25 03:06 tarnishablec

Sorry for the delay, I just check and it look like a name clash between the bone "head" and the object "Head" in the FBX format. To fix you need to rename the object "Head"

xavier150 avatar Jun 12 '25 11:06 xavier150

Btw that not an issue with the new glTF format.

xavier150 avatar Jun 12 '25 11:06 xavier150

Sorry for the delay, I just check and it look like a name clash between the bone "head" and the object "Head" in the FBX format. To fix you need to rename the object "Head"

Thanks for checking, it seems like a bug of unreal engine's fbx importer? I just test importing fbx in Cascadeur It works with no issue.

tarnishablec avatar Jun 12 '25 12:06 tarnishablec

Yes it look like. Since Unreal Engine 5.5 all FBX import use the new Interchange pipeline added in Unreal Engine 5.1. If you try to import "Head_Base" part in 5.0 you will get this error in the logs.

LogFbx: Loading FBX Scene from C:/Users/BleuRaven/Downloads/ExportedAssets/SkeletalMesh/UEFN_Mannequin/SKM_Head_Base.fbx
LogFbx: FBX Scene Loaded Succesfully
LogFbx: Warning: Not valid bind pose for Pose (Mesh.005) - Node Head : The relative matrices do not match
LogFbx: Warning: Getting valid bind pose failed. Try to recreate bind pose
LogFbx: Valid bind pose for Pose (FbxSDKBindPose) - Head
LogFbx: Warning: Recreating bind pose succeeded.
LogFbx: Warning: Bones digested - 96  Depth of hierarchy - 15
LogSkeletalMesh: Section 0: Material=0, 1072 triangles
LogEditorFactories: -- imported successfully
FBXImport: FBX File Loading: Found name clash, node 'head' was renamed to 'head1' 
LogSkeletalMesh: Building Skeletal Mesh SKM_Head_Base...
LogSkeletalMesh: Built Skeletal Mesh [0.01s] /Game/ImportedBlenderAssets/SKM_Head_Base.SKM_Head_Base

xavier150 avatar Jun 12 '25 16:06 xavier150

Hello, I close this issue now, because it from the FBX importer I can't really fix it.

xavier150 avatar Aug 19 '25 00:08 xavier150