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

Importing MSFS .gltf fails #2

Open
jonstanley opened this issue Apr 15, 2022 · 0 comments
Open

Importing MSFS .gltf fails #2

jonstanley opened this issue Apr 15, 2022 · 0 comments

Comments

@jonstanley
Copy link

jonstanley commented Apr 15, 2022

Current Behavior

Installed "glTF-Blender-IO-MSFS" plugin, then "msfs-blender-tools", and running Blender with Administrator privileges to install the depenedencies, finished with a full restart, on importing a compiled MSFS .gltf, the following error occurs.

  File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_scene_gltf2\__init__.py", line 1109, in execute
    return self.import_gltf2(context)
  File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_scene_gltf2\__init__.py", line 1137, in import_gltf2
    if self.unit_import(path, import_settings) == {'FINISHED'}:
  File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_scene_gltf2\__init__.py", line 1157, in unit_import
    BlenderGlTF.create(gltf_importer)
  File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_gltf.py", line 42, in create
    BlenderGlTF._create(gltf)
  File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_gltf.py", line 49, in _create
    BlenderScene.create(gltf)
  File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_scene.py", line 44, in create
    compute_vnodes(gltf)
  File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_vnode.py", line 27, in compute_vnodes
    mark_bones_and_armas(gltf)
  File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_vnode.py", line 162, in mark_bones_and_armas
    arma_id = deepest_common_ancestor(gltf, descendants)
  File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_vnode.py", line 199, in deepest_common_ancestor
    path = path_from_root(gltf, vnode_id)
  File "C:\Program Files\Blender Foundation\Blender 3.1\3.1\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_vnode.py", line 211, in path_from_root
    vnode_id = gltf.vnodes[vnode_id].parent
KeyError: -1

location: <unknown location>:-1

Can't get old Blender 2.9x to work with the previous "msfs2blender2msfs" plugin either, but can't report bugs on that one as the repo has be archived and not reports are allowed anymore. Just want something to work...

Expected Behavior

It should just work... plus no way to verify if "pillow" dependency was ever actually installed...

Steps To Reproduce

  1. On Windows 11, Blender 3.1.2 clean install
  2. Install glTF-Blender-IO-MSFS, activate and restart Blender with admin privs
  3. Install msfs-blender-tools, activate, install dependencies, restart Blender
  4. Import MSFS .gltf model, all extensions to importer is enabled
  5. Import fails with above message

Environment

- OS: Windows 11
- Blender: 3.1.2
- msfs-blender-tools: 0.0.1

Anything else?

No response

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