lasa01 / Plumber

A Blender addon for importing Source 1 engine maps, models, materials and textures. This addon makes it possible to import full CS:GO, TF2, CS:S or other Source 1 game maps into Blender.
MIT License
396 stars 29 forks source link

Error when optimizing props: key "Armature" not found'` #63

Closed TheOrdinaryWow closed 3 years ago

TheOrdinaryWow commented 3 years ago

Here's what happened:

I regularly installed all dependencies and decompile the map using BSPSource then import the vmf into blender via this plugin.

For safety concern i left all checkers default. Then after I watch the tutorial I confidently started.

Then something went wrong during the step [9/12] Optimizing props...

It comes like this and repeats endlessly till it "optimize" every prop.

[ERROR] OPTIMIZING PROP prop_physics_multiplayer_2066599 FAILED: 'bpy_prop_collection[key]: key "Armature" not found' Traceback (most recent call last): File "C:\Users\IDONTKNOWMYUSERENAME\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\io_import_vmf\import_vmf.py", line 845, in _optimize_props child.modifiers.remove(child.modifiers["Armature"]) KeyError: 'bpy_prop_collection[key]: key "Armature" not found'

and the script ends like this:

Done in 254.0752 s Imported 5034 solids (0 failed) Imported 160 overlays (1 failed) Imported 975 props (0 failed) Imported 165 lights (0 failed)

However it shows like this, which all props are located to origin and the road plane was missing too. image

and this ( I moved the skybox up so there's a better view) :

image

And I searched the error on google as well as keyword "optimize" "prop" in the issues but find nothing.

By the way I consider myself have set this plugin right.

image

Lastly if possible please provide some advice, much appreciate. :))

Have a good day dev~

TheOrdinaryWow commented 3 years ago

I DIDN'T READ THE FAQ SRY N HAVE A GOOD DAY DEV