Animations with a single frame are not exported into FBX. #103762

Open
opened 2023-01-09 17:25:17 +01:00 by Emperor of Mars · 1 comment

System Information
Operating system: Windows 10 Pro 10.0.19045 Build 19045
Graphics card: NVIDIA GeForce RTX 3090

Blender Version
Broken: 3.4.1, downloaded from official website.
Worked: Never. I've been using Blender since 2.9.

Short description of error
I am not able to export an .fbx file which includes actions with a single frame of keys. Shapekey clips are not exported at all. Only multi frame animations are exported.
Export settings under 'Bake Animation': 'Key All Bones' off; 'NLA Strips' on; 'All Actions' on; 'Force Start/End Keying': off; 'Sampling Rate': 1; 'Simplify': 1;

I can set 'Force Start/End Keying' to on. That generates a key for every bone and shapekey, copies the currently active shapekey clip into every animation and duplicates the frame. This leads to an tedious cleanup effort in the gameengine. Setting 'Simplify' to 0 leads to the same result.

I am importing the .fbx file into Unity (2019.4). I'm very sure that my import settings there are correct. The .fbx filesize differs accordingly. (6MB vs 39MB for a model with ~40000 tris and about 200 shapekeys)

This behaviour existed ever since i started using Blender in version (i think) 2.9.

Exporting to GLTF this works as expected, as long as Animation -> 'Always Sample Animations' is set to off. Skapekey clips are still not exported tho.

Exact steps for others to reproduce the error
Blender file must contain actions which have keys only on one frame.
Export .fbx. Settings under 'Bake Animation': 'Key All Bones' off; 'NLA Strips' on; 'All Actions' on; 'Force Start/End Keying': off; 'Sampling Rate': 1; 'Simplify': 1;
Import in Unity or any other gameengine:

**System Information** Operating system: Windows 10 Pro 10.0.19045 Build 19045 Graphics card: NVIDIA GeForce RTX 3090 **Blender Version** Broken: 3.4.1, downloaded from official website. Worked: Never. I've been using Blender since 2.9. **Short description of error** I am not able to export an .fbx file which includes actions with a single frame of keys. Shapekey clips are not exported at all. Only multi frame animations are exported. Export settings under 'Bake Animation': 'Key All Bones' off; 'NLA Strips' on; 'All Actions' on; 'Force Start/End Keying': off; 'Sampling Rate': 1; 'Simplify': 1; I can set 'Force Start/End Keying' to on. That generates a key for every bone and shapekey, copies the currently active shapekey clip into every animation and duplicates the frame. This leads to an tedious cleanup effort in the gameengine. Setting 'Simplify' to 0 leads to the same result. I am importing the .fbx file into Unity (2019.4). I'm very sure that my import settings there are correct. The .fbx filesize differs accordingly. (6MB vs 39MB for a model with ~40000 tris and about 200 shapekeys) This behaviour existed ever since i started using Blender in version (i think) 2.9. Exporting to GLTF this works as expected, as long as Animation -> 'Always Sample Animations' is set to off. Skapekey clips are still not exported tho. **Exact steps for others to reproduce the error** Blender file must contain actions which have keys only on one frame. Export .fbx. Settings under 'Bake Animation': 'Key All Bones' off; 'NLA Strips' on; 'All Actions' on; 'Force Start/End Keying': off; 'Sampling Rate': 1; 'Simplify': 1; Import in Unity or any other gameengine:

Added subscriber: @emperorofmars

Added subscriber: @emperorofmars
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#103762
No description provided.