Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.86
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-06-29 20:58, hash: rBbe060c3990ad
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:
tmp_me = bpy.data.meshes.new_from_object( ob_to_convert, preserve_all_data_layers=True, depsgraph=depsgraph)
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
- Open the blend file and export the Cube to Fbx:
- Import it back in Blender or Unity, the shape key is not animated.