STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
383
IN-GAME
2,172
ONLINE
Founded
8 November, 2013
All Discussions > Bug Reports > Topic Details
Broken animation export in the recent versions
In the latest versions of BST you can no longer export animations from a linked rig with Library Overrides.
To recreate this issue:
  1. Create a blend file and create a collection in the scene root.
  2. Create the simplest model possible (2 monkeys, cubes, whatever) and rig it in the simplest way possible (1 root bone and 2 bones for objects).
  3. Save the file.
  4. Create another blend file and LINK the collection from the previous file, containing the rig (File -> Link)
  5. Select the linked collection and do Object -> Library Override -> Make.
  6. Create an action for the now pose-able armature and a simple animation.
  7. Try exporting the said animation. It will simply not show up in the list and Scene Export will throw
Error: Python: Traceback (most recent call last): File "C:\Users\DrHax\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\io_scene_valvesource\export_smd.py", line 209, in execute self.exportId(context, id) File "C:\Users\DrHax\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\io_scene_valvesource\export_smd.py", line 352, in exportId bake = self.bakeObj(ob) ^^^^^^^^^^^^^^^^ File "C:\Users\DrHax\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\io_scene_valvesource\export_smd.py", line 776, in bakeObj ops.object.mode_set(mode='EDIT') File "C:\Program Files (x86)\Steam\steamapps\common\Blender\4.1\scripts\modules\bpy\ops.py", line 109, in __call__ ret = _op_call(self.idname_py(), kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: Error: Unable to execute 'Toggle Edit Mode', error changing modes

The "Source Engine Exportables" list does show the required Actions, but even if I select it - the "Export" button doesn't show it in its menu and I cannot uncheck checkboxes to exclude other linked stuff (because the checkboxes are grayed out) I do not want to export and which are actually causing the export error (linked meshes and so on).
It seems like purely a selection issue, because if I uncheck all the checkboxes with python and then check the action I want to export and click "Export Scene" - everything works fine.
This did work in BST 3.1.1 - 3.2

I BEG OF YOU, please explain what's going on or fix it, because this is the only sane way to properly animate complex rigs or any rigs in general.
I can't use older BST versions, because they no longer work with the new Blender and I can't roll back to older Blender version for various reasons.
(FYI appending the armature regardless of its complexity 5 quadrillion times to 7 quintillion different blender files is an absolute brain ret@rdation).
The proper way of animating in Blender and any other software ever since Softimage XSI came out is creating a rig in a clean file and then linking it to other files where you create various animations.
Thank you in advance, feel free to contact me at any time.
Last edited by grandpa coomdrinker; 5 Apr, 2024 @ 5:00pm
< >
Showing 1-2 of 2 comments
grandpa semen 5 Apr, 2024 @ 5:02pm 
I also have this porblem
Artfunkel 6 Apr, 2024 @ 12:18pm 
This is the first time I've ever seen this system. It's much more complicated than the old one and I don't yet understand what has changed. I didn't make any substantial changes to the property system for the 3.3 release, so it currently seems more likely that something in Blender 4.1 broke it.

You should be able to work around this by copying the linked collection into the local .blend file, exporting, then undoing your changes.
Last edited by Artfunkel; 6 Apr, 2024 @ 12:18pm
< >
Showing 1-2 of 2 comments
Per page: 1530 50

All Discussions > Bug Reports > Topic Details