Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error importing crafts #72

Open
1ucket opened this issue Nov 4, 2022 · 0 comments
Open

Error importing crafts #72

1ucket opened this issue Nov 4, 2022 · 0 comments

Comments

@1ucket
Copy link

1ucket commented Nov 4, 2022

Blender: 3.3.1 and 2.83 (verified with both)
KSP: 1.12.4
New instance cloned and all mods removed with ckan
Before removing the mods nothing happened when importing a craft. After removing the mods it loads for ~10s and below error message appears.

  File "C:\Users\censored\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\io_object_mu-master\import_craft\import_craft.py", line 106, in execute
    return import_craft_op(self, context, **keywords)
  File "C:\Users\censored\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\io_object_mu-master\import_craft\import_craft.py", line 80, in import_craft_op
    obj = import_craft(filepath)
  File "C:\Users\censored\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\io_object_mu-master\import_craft\import_craft.py", line 60, in import_craft
    part = gamedata.parts[pname].get_model()
  File "C:\Users\censored\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\io_object_mu-master\import_craft\part.py", line 63, in get_model
    self.model = compile_model(self.db, self.path, "part", self.name,
  File "C:\Users\censored\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\io_object_mu-master\model\model.py", line 49, in compile_model
    obj = mdl.instantiate(f"{name}:submodel", position, rotation, scale)
AttributeError: 'NoneType' object has no attribute 'instantiate'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant