Fbx exporter: Shape keys animation export broken #66272
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
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#66272
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
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.86
Blender Version
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-06-29 20:58, hash:
blender/blender@be060c3990
Worked: 2.79b
Short description of error
Exporting animated shape keys with the Fbx exporter is broken.
After investigation, it seems this line is the cause in the export_fbx_bin.py file:
ob_to_convert.data.shape keys is not None, but tmp_me.shape_keys is None.
So shape keys are lost here, and are not registered in the data_meshes dict.
Exact steps for others to reproduce the error
cube.blend
Added subscriber: @LucasVeber
Added subscribers: @mont29, @lichtwerk
Not sure this is is actually the reason...
All Actions
andNLA Strips
under the FBX export Animation Settings@mont29: I am a bit confused why the shapekey animation seems nowhere to be found after reimporting if
All Actions
andNLA Strips
are enabledon export? (shouldnt these at least be selectable from the Dopesheet ShapeKey Editor Action dropdown?)I can't say i'm 100% sure of course, but i'm pretty sure the data_meshes dict should be filled with the shape keys data, while it's no more the case in the latest version.
To expose it better, a few lines below:
me.shape_keys being None, shape keys are skipped.
But this is a different case, in the given example the Cube object is "use_org_data". Sorry for the confusion.
Not working here (tested with the same blend file).
Sorry, I inverted "All Actions" and "Baked Animations" buttons!
When disabling these two options, shape keys animation exports here as well, yes.
OK, not exactly sure what to do then:
All Actions
andNLA Strips
are enabled@mont29: will assign to you [even though this might really not be a bug] for making a decission...
Added subscriber: @BleuRaven
Added subscriber: @Zoni
This still seems to be an issue, I exported a cloth simulation to Unity with the newest official version and it only appeared when all actions and nla-tracks were disabled.
Added subscriber: @Marksssss
The work-around works with the provided blend file, but I have one here that still doesn't work.animationString2.blend
If you try to export this as a fbx, even if you disable NLA strips and All Actions, the animation won't be exported.
Added subscriber: @fynn.braren
Can confirm as for 3.6 workaround still works.
If someone will attempt to fix this note that there is also proglem that shape key animation is not exported if you don't have any action selected in action editor (example - #104759). Workaround works though.