FBX exporter can't scale mesh with armature correctly. #44424
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#44424
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Windows 7 and AMD HD6770
Blender Version
Broken: (2.74 or previous versions)
Worked: (not sure)
Short description of error
When exporting animated mesh with an armature as FBX file, the scales of mesh and armature will be different (differed by 100 times ), even if set export scale to 1.0.
And import the FBX exported from blender into Maya, you can see the mesh scale is actually 100, but the bones scale is still 1. It's supposed to be bug of blender FBX exporter.
Exact steps for others to reproduce the error
Simply export an animated mesh with an armature as an FBX file, then import the FBX file into Maya or Blender itself, and check the scale channels of both mesh and bones. You can easily see the issue.
Changed status to: 'Open'
Added subscriber: @Rays-Lv
Please attach a .blend file with mesh+armature reproducing that issue, with exact settings used in FBX exporter.
@mont29
Thanks for reply. I meant exporting FBX at scale 1.0 from blender into Maya at scale 1.0 will get mesh scale at 100 and bone scale at 1.0 in Maya. I did some more tests playing with different import scales to Maya, although some import scale setting can keep scales of mesh and bone exactly the same, but it's not the crucial point on this thread. The problem is working with UE4.
To explain why I care about this problem so much, I have to make this thread a bit longer.
Let's begin with this simple animated mesh scene. blender file: FBX_scale_bug.blend
At first, export an FBX file with default scale at 1.0 for testing with Maya. FBX file: blender_scale_1.fbx
System setting in Maya should be set like this, it's supposed to be the same unit scale as the unit in blender.
Then, import the FBX file blender_scale_1.fbx to Maya with scale 1.0.
The mesh size looks the same as it was previously in blender. But the scale channel is 100 now, whereas, the bones scale is still 1.0.
But that's not the crucial point. Let's switch to UE4.
To get a decent mesh size in UE4 world, I have to export another FBX file with scale at 10. This FBX is only for UE4, no need to import it to Maya again.
FBX file: blender_scale_10.fbx
{F163910}
Also export an FBX with scale 10 from Maya (just using the previous imported scale 1.0 mesh from blender).
FBX file: maya_scale_10.fbx
Then, import both of the scale 10 FBX files into UE4 just with default options. We'll easily notice the different sizes of meshes with animation from Blender and Maya. The Blender one got too small to be see at all, although the size of mesh without animation is correct. I did look into the mesh with animation and found it was exactly 10 times smaller than it was supposed to be. Whereas, the Maya one worked properly. So this is the real problem.
PS: If I create the mesh with large enough size in Blender in order to export it just using scale at 1.0 to UE4, then, the size of mesh and animated mesh in UE4 will be correct. However, the problem is that can easily reach the "100 units bone length limitation" in blender I just knew few days ago, when creating some large monster characters.
I can hardly find a perfect solution on it so far. Maybe you could test around Blender, Maya and UE4 to get some other clues for final solution. Thanks.
Eeeeeeeeeek! You are using 'apply transform' option!!!!
I should write a big red flashing warning this is EXPERIMENTAL, looks like people do not read tooltips :(
Do not use that option, especially never when armatures or animations are involved!
Maybe I should completely remove it… But then, it can be useful in some cases, when exporting static meshes.
Added subscriber: @mont29
@mont29
Hi, mout29. I'd also tried not applying transform, but it makes no difference with the result in UE4. In fact, usually I don't use this option for animated mesh exporting. But also get no luck.
You may also give it a try with UE4.
And I think you dev team may need consider to remove that "100 units bone length limitation" (that limitation actually doesn't make good sense) from Blender. Then, at least, I can stick with scale 1.0 exporting workflow to produce a proper result in UE4.
Added subscriber: @JoshuaLeung
@JoshuaLeung
Closed as duplicate of #41605