FBX export animations for non-animated objects when All Actions is enabled #100366

Closed
opened 2022-08-12 09:26:34 +02:00 by Reiner Prokein · 6 comments

Simplified Report

The following file contains an object with no animations. Exporting the object with All Actions enabled and importing it again will assign an action to it.
This is most likely due to the fact that animation_data is not None in the object, but animation_data.action is None.

aniproblem1.blend

Original Report

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15

Blender Version
Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-08-01 01:02, hash: blender/blender@6749a4a8f0

Short description of error
Exporting a mesh as fbx and reimporting it creates keyframes

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]

  • Open the attached file
  • export the content as fbx
  • reimport the content as fbx
  • Watch the keyframes

I have no idea how i managed to show this behaviour. It just happened to two meshes in my scene. The other dozens of objects in the scene exported and imported just fine.

aniproblem1.blend

2022-08-12 09-20-09.mp4

### Simplified Report The following file contains an object with no animations. Exporting the object with All Actions enabled and importing it again will assign an action to it. This is most likely due to the fact that `animation_data` is not `None` in the object, but `animation_data.action` is `None`. [aniproblem1.blend](https://archive.blender.org/developer/F13368958/aniproblem1.blend) ### Original Report **System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15 **Blender Version** Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-08-01 01:02, hash: `blender/blender@6749a4a8f0` **Short description of error** Exporting a mesh as fbx and reimporting it creates keyframes **Exact steps for others to reproduce the error** [Please describe the exact steps needed to reproduce the issue] [Based on the default startup or an attached .blend file (as simple as possible)] - Open the attached file - export the content as fbx - reimport the content as fbx - Watch the keyframes I have no idea how i managed to show this behaviour. It just happened to two meshes in my scene. The other dozens of objects in the scene exported and imported just fine. [aniproblem1.blend](https://archive.blender.org/developer/F13368958/aniproblem1.blend) [2022-08-12 09-20-09.mp4](https://archive.blender.org/developer/F13368953/2022-08-12_09-20-09.mp4)
Author

Added subscriber: @tiles

Added subscriber: @tiles
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Omar Emara changed title from FBX export creates keyframes to FBX export animations for non-animated objects when All Actions is enabled 2022-08-16 13:07:13 +02:00

Added subscriber: @mont29

Added subscriber: @mont29

Changed status from 'Confirmed' to: 'Archived'

Changed status from 'Confirmed' to: 'Archived'

I would not consider this as a bug, even if your object has no animdata at all, it may be indirectly animated in Blender (through constraints e.g.), so we need to bake it anyway...

I would not consider this as a bug, even if your object has no animdata at all, it may be indirectly animated in Blender (through constraints e.g.), so we need to bake it anyway...
Author

Sometimes i don't understand how you define a bug. The scene is clearly broken by this behaviour. There is no animation, there is no constraint. So why do you want to bake what does not exist?

Anyways, it's of course your decision. I can just report it.

Sometimes i don't understand how you define a bug. The scene is clearly broken by this behaviour. There is no animation, there is no constraint. So why do you want to bake what does not exist? Anyways, it's of course your decision. I can just report it.
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 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#100366
No description provided.