Maniphest T96332

Export to FBX, with apply transform, ignores armature scale
Closed, Archived

Assigned To
None
Authored By
Michael Macha (vikinghelmet99)
Mar 11 2022, 12:40 PM
Tags
  • Add-ons (BF-Blender)
Subscribers
Bastien Montagne (mont29)
Germano Cavalcante (mano-wii)
Michael Macha (vikinghelmet99)

Description

System Information
Operating system: Linux Mint 20.3
Graphics card: GTX 1660

Blender Version
Broken: 3.1
Worked: (unknown)

Short description of error
When exporting an FBX to Unity, with "Apply Transform (experimental)" checked, the scale of meshes is accurately exported; however, animated armatures remain at a scale of 100.

Exact steps for others to reproduce the error
Simply export a mesh, and its associated armature, to FBX with "Apply Transforms" checked, and open in Unity (or presumably any other FBX-compatible software). The mesh itself will be the correct size, and all transforms of the armature bones will work; but the armature itself will be scaled to 100. This is a problem down the production line, as any modular attachment to these bones must be scaled down by a hundred, or the result will be enormous meshes breaking the scene. This can be worked around, but not effectively corrected after the fact, to my knowledge.

To be complete, my selections on the "Export FBX" dialog include "Selected Objects" (with the mesh and armature selected), Z Forward, Apply Transform, Apply Modifiers, and Bake Animation (though there is no animation to speak of, this was the default). I have deselected "Include Leaf Bones".

The objects selected are titled "Carriage Frame" and "Frame.Mobile.00.Armature". I recognize that "Apply Transform" is experimental, but this would go a long way toward bringing it out of that phase. Thank you for your attention!

Related Objects

Event Timeline

Michael Macha (vikinghelmet99) created this task.Mar 11 2022, 12:40 PM
Michael Macha (vikinghelmet99) added a comment.Mar 11 2022, 12:45 PM

My current workaround is to turn off Apply Transforms (so it treats everything equally), and simply add an empty Game Object under the appropriate armature bone that's scaled down to 1/100. This scales up by 100 once, and down by .01 once, so it isn't perfect; but it works without distorting a child mesh.

Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Needs Information from Developers.Mar 11 2022, 9:06 PM
Germano Cavalcante (mano-wii) edited projects, added Add-ons (BF-Blender); removed BF Blender.
Germano Cavalcante (mano-wii) added subscribers: Bastien Montagne (mont29), Germano Cavalcante (mano-wii).

I can confirm that the scale of some bones changes, but it doesn't seem "scaled to 100".

Also note that the Apply Transform option has a warning symbol. This may indicate that this is a known issue:

@Bastien Montagne (mont29), is there any place for us to keep track of the known issues of this option?

Bastien Montagne (mont29) added a comment.Mar 15 2022, 10:08 AM

@Germano Cavalcante (mano-wii) T68575: FBX Known issues & TODO's ?

Bastien Montagne (mont29) closed this task as Archived.Apr 1 2022, 9:40 AM

Closing, as stated in its name this feature is experimental and known to only work with very basic cases...