Maniphest T63689

FBX export suddenly broken
Closed, Resolved

Assigned To
Sergey Sharybin (sergey)
Authored By
Fatih Yilmaz (AquilaGames)
Apr 17 2019, 9:11 PM
Tags
  • BF Blender
Subscribers
Bastien Montagne (mont29)
Fatih Yilmaz (AquilaGames)
grant abbitt (grant.abbitt)
Juan Mendoza (juaninskirt)
lucas veber (lucky3)
Sebastian Parborg (zeddb)
Sergey Sharybin (sergey)
Steven Babb (stvbabb)
Tokens
"Like" token, awarded by lucky3."Like" token, awarded by stvbabb.

Description

System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 391.35

Blender Version
Broken: version: 2.80 (sub 57), branch: master, commit date: 2019-04-16 20:13, hash: rB5d8030b8f3cf
Worked: any version before 2019-03-27

Short description of error
[fbx export of animated and rigged character is broken. hand/arms go nuts. i can change versions just to fix the issue. any earlier version than march 27 still works.]

Exact steps for others to reproduce the error
[i reproduced it with my armature in any case. it only doesnt appear if i export without any animation data or keyframes. if i add a single keyframe and export the character again it gets broken.
I also tried to reimport the broken file to see the results and it seems still broken. however i could see that the armature wasnt broken but the skinning somehow instead(see added picture)]

exported:

in Blender:

reimported broken fbx file in blender:

heres a blend file where that happens. also keep an eye on the foot Constraints, they are broken too but i might report another bug later as a new issue.

Related Objects

Mentioned In
rC9c123e62911f: Dependency graph API changes
rBe693918d4074: Dependency graph API changes
D4834: Dependency graph API changes
Mentioned Here
rB46eb5a0b8a4f: Tweak behavior of object.to_mesh()
T63721: exporting animation to FBX

Event Timeline

Fatih Yilmaz (AquilaGames) created this task.Apr 17 2019, 9:11 PM
Sebastian Parborg (zeddb) changed the task status from Unknown Status to Archived.Apr 18 2019, 10:38 AM
Sebastian Parborg (zeddb) claimed this task.
Sebastian Parborg (zeddb) added a subscriber: Sebastian Parborg (zeddb).

If you can't provide any steps to reproduce the issue, there is not much to do here.

Sebastian Parborg (zeddb) changed the task status from Archived to Unknown Status.Apr 18 2019, 10:39 AM
Sebastian Parborg (zeddb) lowered the priority of this task from 90 to 30.
Sebastian Parborg (zeddb) removed Sebastian Parborg (zeddb) as the assignee of this task.Apr 18 2019, 10:53 AM
Fatih Yilmaz (AquilaGames) raised the priority of this task from 30 to 90.Apr 19 2019, 8:34 AM
Fatih Yilmaz (AquilaGames) updated the task description.
Sebastian Parborg (zeddb) lowered the priority of this task from 90 to 30.Apr 19 2019, 12:27 PM

Can you provide a sample .blend file so we can reproduce this issue ourselves?

Steven Babb (stvbabb) added a subscriber: Steven Babb (stvbabb).Apr 19 2019, 12:35 PM
Steven Babb (stvbabb) awarded a token.Apr 19 2019, 12:37 PM
Fatih Yilmaz (AquilaGames) raised the priority of this task from 30 to 90.Apr 19 2019, 2:09 PM
Fatih Yilmaz (AquilaGames) updated the task description.
Sebastian Parborg (zeddb) assigned this task to Bastien Montagne (mont29).Apr 19 2019, 3:23 PM
Sebastian Parborg (zeddb) lowered the priority of this task from 90 to 50.
Sebastian Parborg (zeddb) merged a task: T63721: exporting animation to FBX.
Sebastian Parborg (zeddb) added a subscriber: grant abbitt (grant.abbitt).

The sample file from T63721:

Sebastian Parborg (zeddb) added a subscriber: Sergey Sharybin (sergey).Apr 19 2019, 4:15 PM

@Sergey Sharybin (sergey) seems like rB46eb5a0b8a4f3a7826b5e5a1a11e114e09037dba broke this.

Bastien Montagne (mont29) reassigned this task from Bastien Montagne (mont29) to Sergey Sharybin (sergey).Apr 19 2019, 6:31 PM
Bastien Montagne (mont29) added a subscriber: Bastien Montagne (mont29).
lucas veber (lucky3) added a subscriber: lucas veber (lucky3).EditedApr 22 2019, 12:27 PM

As @Sebastian Parborg (zeddb) mentionned, apparently the "to_mesh" call in the fbx binary export script is not working as it should because it's converting to mesh the model with armature modifiers applied, whereas they are disabled a few lines above in the script (to reset to the rest pose).
Seems to be an update issue. Triggering the data update manually using bpy.context.scene.update() just before "tmp_me = ob.to_mesh..." make it work. Not sure it should be fixed this way though?

Juan Mendoza (juaninskirt) added a subscriber: Juan Mendoza (juaninskirt).Apr 26 2019, 10:23 PM
Sergey Sharybin (sergey) mentioned this in D4834: Dependency graph API changes.May 9 2019, 5:28 PM
Sergey Sharybin (sergey) mentioned this in rBe693918d4074: Dependency graph API changes.May 16 2019, 11:49 AM
Sergey Sharybin (sergey) changed the task status from Unknown Status to Resolved.May 17 2019, 1:08 PM

This issue is fixed by the series of commits to the dependency graph API changes and fixes.
Thanks for the report, closing it now.

lucas veber (lucky3) awarded a token.May 17 2019, 1:10 PM
Brecht Van Lommel (brecht) mentioned this in rC9c123e62911f: Dependency graph API changes.Aug 22 2019, 5:17 PM