FBX exporting animation with 1 fps
#99876
Closed
opened
No Branch/Tag Specified
main
blender-v3.6-release
asset-shelf
blender-v3.5-release
brush-assets-project
blender-v2.93-release
blender-v3.3-release
blender-v3.4-release
xr-dev
blender-v3.2-release
blender-v3.1-release
screenshots-manual
gltf_vtree
blender-v2.83-release
blender-v3.0-release
xr-controller-support
studio-sprite-fright
asset-browser-poselib
blender-v2.92-release
blender-v2.91-release
blender-v2.90-release
greasepencil-addon
xr-world-navigation
soc-2019-openxr
blender-v2.82-release
blender-v2.81-release
filebrowser_redesign
blender-v2.80-release
blender2.7
blender-v2.79b-release
blender-v2.79a-release
blender-v2.79-release
fbx_experiments
blender-v2.78b-release
collada-2
blender-v2.78-release
rigify_fixes
fbx_io_export_ignore_parents
v3.3.7
v2.93.18
v3.5.1
v3.3.6
v2.93.17
v3.5.0
v2.93.16
v3.3.5
v3.3.4
v2.93.15
v2.93.14
v3.3.3
v2.93.13
v2.93.12
v3.4.1
v3.3.2
v3.4.0
v3.3.1
v2.93.11
v3.3.0
v3.2.2
v2.93.10
v3.2.1
v3.2.0
v2.83.20
v2.93.9
v3.1.2
v3.1.1
v3.1.0
v2.83.19
v2.93.8
v3.0.1
v2.93.7
v3.0.0
v2.93.6
v2.93.5
v2.83.18
v2.93.4
v2.93.3
v2.83.17
v2.93.2
v2.93.1
v2.83.16
v2.93.0
v2.83.15
v2.83.14
v2.83.13
v2.92.0
v2.83.12
v2.91.2
v2.83.10
v2.91.0
v2.83.9
v2.83.8
v2.83.7
v2.90.1
v2.83.6
v2.90.0
v2.83.5
v2.83.4
v2.83.3
v2.83.2
v2.83.1
v2.83
v2.82a
v2.82
v2.81a
v2.81
v2.80
v2.80-rc3
v2.80-rc2
v2.80-rc1
v2.79b
v2.79a
v2.79
v2.79-rc2
v2.79-rc1
v2.78b
v2.78a
v2.78
v2.78-rc2
v2.78-rc1
v2.77a
v2.77
v2.77-rc2
v2.77-rc1
v2.76a
v2.76
v2.76-rc3
v2.76-rc1
v2.75
v2.75-rc2
v2.75-rc1
v2.74
v2.74-rc4
v2.74-rc3
v2.74-rc2
v2.74-rc1
v2.73a
v2.73
v2.73-rc1
v2.72
v2.72-rc1
v2.71
v2.71-rc1
v2.70a
v2.70
v2.70-rc
v2.69
v2.68
v2.67b
v2.67a
v2.67
v2.66a
v2.66
v2.65a
v2.65
v2.64a
v2.64
v2.63a
v2.63
v2.62
v2.61
v2.60a
v2.60
v2.59
v2.58a
v2.58
v2.57b
v2.57a
v2.57
v2.56a
v2.56
v2.55
v2.54
v2.53
Labels
Clear labels
Apply labels
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 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
Milestone
Set milestone
Clear milestone
No items
No Milestone
Projects
Set Project
Clear projects
No project
Assignees
Assign users
Clear assignees
No Assignees
8 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#99876
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. It CANNOT be undone. Continue?
System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.77
Blender Version
Broken: version: 3.3.0 Alpha, branch: master, commit date: 2022-07-19 23:16, hash:
blender/blender@40ffb94ab4
Worked: Blender 3.2.1
Short description of error
When exporting FBX it ignores scene fps value and make it 1 fps. So when I put it in Unity I get 4 frames animation for 4 seconds 30 fps in Blender. If I import it in 3ds Max I get all 120 frames but importer warnings that file has different fps.
Exact steps for others to reproduce the error
Open scene, export fbx with default settings, place in unity project and see clip duration and fps in animation tab
fbx_fps_bug.blend
Added subscriber: @Morphin
#102398 was marked as duplicate of this issue
blender/blender#101655 was marked as duplicate of this issue
blender/blender#101216 was marked as duplicate of this issue
#101066 was marked as duplicate of this issue
#101056 was marked as duplicate of this issue
#100963 was marked as duplicate of this issue
blender/blender#100151 was marked as duplicate of this issue
Added subscriber: @OmarEmaraDev
Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
I don't have Unity to test myself, but I suspect the change in behavior is caused by
b91319aead
.The exporter does a linear search and finds the last matching time mode and frame rate:
for ref_fps, fps_mode in FBX_FRAMERATES:
if similar_values(fps, ref_fps):
fbx_fps = ref_fps
fbx_fps_mode = fps_mode
And now that the 30 FPS drop frame mode was added
(30.0, 7), # Drop frame.
, scenes with 30 frames are exported as such, so maybe the exporter should break upon the first match.I tried to setup different fps in the scene before export. Result is the same
But the exporter works correctly in 3.2, right?
Yes. And it respects scene fps settings. I tried with 24, 30 and 60
Changed status from 'Needs Developer To Reproduce' to: 'Needs Triage'
Changed status from 'Needs Triage' to: 'Needs User Info'
I went over this again, the only change to the FBX exporter in that period is
b91319aead
, can you try to revert it manually and check if it resolves the issue?I also compared an ASCII dumps of both files from 3.2 and 3.3 and there was no difference, so I am not sure what could have caused this change in behavior.
Yes. Commenting just 126 line in fbx_utils.py solved issue ((30.0, 7), # Drop frame.). Maybe it's because there are two 30 fps presets in list?
That was my initial guess, but you said it also doesn't work with 24 and 60, so I am not sure why that extra 30 entry would cause issue for 24 and 60.
Em... I've tried 24,30 and 60 in 3.2. In 3.3 I've tried only 30 and "Custom 30". Now I've tried 24 and 60 in 3.3 and it exports correctly. Sorry for misleading.
Changed status from 'Needs User Info' to: 'Confirmed'
Alright, confirming with my previous comment.
Added subscribers: @hichamo6, @iss
Added subscribers: @cfnjrey, @carlos13eab, @PratikPB2123
Added subscriber: @AndyBrunton
Added subscriber: @ramon_grill
Added subscriber: @Bobo-3
Added subscriber: @mont29
@mont29 ^
Added subscribers: @izanfranco, @mano-wii
This issue was referenced by
80969b3d45
This issue was referenced by
f3975a3bad
Changed status from 'Confirmed' to: 'Resolved'
Added subscriber: @Cenda
Vysypka.fbx
Problem is back in 3.3.1, 3.3.2 RC
3.1.2 working well
3.4 Alpha is ok, any chance to repair also 3.3.2?
@Cenda it is listed to be backported in 3.3 (blender/blender#100749), not sure if it will make it into 3.3.2 or 3.3.3 though.
Added subscriber: @rjmechanic93