Incorrect bones matrix calculation when exporting to Fbx #56883
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#56883
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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
Win 10
Blender Version
Broken: 2.79b
Short description of error
Wrong bones rotations are exported at specific frame/values.
Exact steps for others to reproduce the error
Open the blend file attached, export it to Fbx.
Import it back in Blender, or Unity, Unreal... The right thigh has wrong rotation on frame 3.
fbx_fix.blend
Added subscriber: @LucasVeber
I've found a workaround for this bug.
Decomposing then recomposing the bone matrix fixes it magically in the fbx_utils.py file.
This function is also needed:
Not sure if I should propose a patch for it, since this is quite clumsy and only works for the Fbx exporter. Seems more like a Blender bug to me. Maybe a developer experienced with the Blender's C++ source matrix functions could fix it in a better way?
Added subscriber: @mont29
Changed status from 'Open' to: 'Archived'
Thanks for the report, but even though I can confirm the issue in 2.7x, I cannot reproduce with 2.80… All efforts are now on 2.8, so I do not intend investigating further why that weird glitch happens in 2.79.
Glad to hear it's working fine in 2.8, sure I totally understand 2.79 is no more developed.
Changed status from 'Archived' to: 'Open'
Sorry, but the bug is still happening in the latest Blender 2.8 build.
Please test and confirm.
Added subscriber: @MattOstgard
I encountered this in the wild and reproduced the issue with latest stable Blender 2.91.0 using the same .blend scene attached to the ticket.