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
395 stars 29 forks source link

Missing bl_rna attribute error when importing #104

Closed clg236 closed 2 years ago

clg236 commented 2 years ago

Hi! Using Blender 3.0, everything appears to be set up correctly, but getting the following error when importing. When I skip importing PROPS the error goes away and I'm able to import fine!

Python: Traceback (most recent call last):
  File "C:\Users\root\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\io_import_vmf\__init__.py", line 747, in execute
    with importer:
  File "C:\Users\root\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\io_import_vmf\import_vmf.py", line 124, in __enter__
    self._qc_importer.__enter__()
  File "C:\Users\root\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\io_import_vmf\import_qc.py", line 197, in __enter__
    bpy.utils.unregister_class(import_smd.SmdImporter)
RuntimeError: unregister_class(...):, missing bl_rna attribute from 'RNAMeta' instance (may not be registered)

location: <unknown location>:-1
lasa01 commented 2 years ago

Seems like you forgot to enable Blender Source Tools in the preferences. In addition to installing it you need to also tick the checkbox next to it's name in preferences to enable it.

lasa01 commented 2 years ago

Closing due to inactivity.