EdyJ / blender-to-unity-fbx-exporter

FBX exporter addon for Blender compatible with Unity's coordinate and scaling system.
MIT License
1.01k stars 105 forks source link

For custom pose to work in Unity, have to export the model in a very specific way #15

Open andreiagmu opened 4 years ago

andreiagmu commented 4 years ago

Just adding a weird behavior that I noticed, tested with the same model from issue #14.

For the tail bones to appear with a custom pose in Unity, I have to export the model in Blender in a very specific way: It seems I have to FIRST select the armature, THEN the 3D object, then export (using any export options).

That was the only way that worked, for the tail bones to be positioned correctly in Unity, with the custom curved pose. Else (like if I selected the 3D object first, then the armature), the tail appears in a different pose, the "default pose" of the tail bones.

I don't know if that's intended, or if it's a bug with the exporter.

andreiagmu commented 4 years ago

Results in Unity:

In Blender I selected the armature first, then the 3D object, then exported. capture_20201015_021259_001

In Blender I selected the 3D object first, then the armature, then exported. capture_20201015_021406_002

EdyJ commented 4 years ago

Thank you for reporting! Is this problem reproducible with the file you've already sent in #14?

EdyJ commented 4 years ago

Oh, sorry, I've just re-read the issue and noticed it is :) Thanks, I'll test it.

EdyJ commented 1 year ago

The issue happens depending on the object that remains highlighted in the Outline when the Unity FBX Exporter is invoked. "Highlighted" is represented by a rounded gray background in the object's icon. It's different from object selection.