Blender 2.83 quits after exporting.
See original GitHub issueHi,
I am trying your exporter, but it crashes with my model. At the end I get an segmentation fault.
`FBX export prepare: Wrapping Objects… Done (0.015395 sec)
FBX export prepare: Wrapping Data (lamps, cameras, empties)… Done (0.000637 sec)
FBX export prepare: Wrapping Meshes… Done (0.002220 sec)
FBX export prepare: Wrapping ShapeKeys… Done (0.000052 sec)
FBX export prepare: Wrapping Armatures… Done (0.000227 sec)
FBX export prepare: Wrapping World… Done (0.000081 sec)
FBX export prepare: Wrapping Materials… Done (0.001132 sec)
FBX export prepare: Wrapping Textures… Done (0.000772 sec)
FBX export prepare: Wrapping Animations… Done (0.000346 sec)
FBX export prepare: Generating templates… Done (0.000075 sec)
FBX export prepare: Generating Connections… Done (0.005486 sec)
FBX export fetch empties (31)… Done (0.000445 sec)
FBX export fetch lamps (0)… Done (0.000020 sec)
FBX export fetch cameras (0)… Done (0.000037 sec)
FBX export fetch meshes (201)… Done (0.759288 sec)
FBX export fetch objects (326)… Done (0.059263 sec)
FBX export fetch remaining… Done (0.001688 sec)
FBX export fetch animations… Done (0.000027 sec)
export finished in 0.9175 sec. Writing: /tmp/Lider.crash.txt Segmentation fault (core dumped) `
This is on Blender 2.83.
The writing of the file seems to work, but after that Blender just quits.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top GitHub Comments
I’ve fixed the issue. It had to do with how the exporter handled undo. This is mostly undocumented, but I’ve managed to figure out a way that where undo works properly. Next commit will fix it.
I’ve managed to isolate one specific cause of this issue. It involves exporting any linked duplicate (alt+D) objects which have a modifier. It seems like any modifier will trigger this, and when it is added before or after duplication. Reproduction steps: Start with default cube scene Select cube Link-Duplicate cube (Alt+D) Add any modifier to either duplicate Export as Unity FBX either as Active Collection or as Selected Objects if both duplicates are selected. Crash should occur
Tested on 2.83 and 2.90 with similar results.