3.5 Can not import .glb(gtlf) file #104822

Closed
opened 2023-02-16 15:35:19 +01:00 by Feng · 3 comments

System Information
Operating system: Windows 11 22H2 22621.1265
Graphics card: NVIDIA 1050 Ti/Intel UHD630

PYTHON INTERACTIVE CONSOLE 3.10.9 (main, Dec 8 2022, 14:09:03) [MSC v.1928 64 bit (AMD64)]

Blender Version
Broken: (3.5.0 beta, 4CB119F5339F, master, 2023.02.15 23:48)
Worked: (3.4.1 version of Blender that worked as expected)

Short description of error
can not import .glb(gtlf) file as normal
Exact steps for others to reproduce the error

Python: Traceback (most recent call last):
  File "G:\blender\blender35\3.5\scripts\addons\io_scene_gltf2\__init__.py", line 1272, in execute
    return self.import_gltf2(context)
  File "G:\blender\blender35\3.5\scripts\addons\io_scene_gltf2\__init__.py", line 1300, in import_gltf2
    if self.unit_import(path, import_settings) == {'FINISHED'}:
  File "G:\blender\blender35\3.5\scripts\addons\io_scene_gltf2\__init__.py", line 1320, in unit_import
    BlenderGlTF.create(gltf_importer)
  File "G:\blender\blender35\3.5\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_gltf.py", line 37, in create
    BlenderGlTF._create(gltf)
  File "G:\blender\blender35\3.5\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_gltf.py", line 44, in _create
    BlenderScene.create(gltf)
  File "G:\blender\blende```
r35\3.5\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_scene.py", line 36, in create
    BlenderNode.create_vnode(gltf, 'root')
  File "G:\blender\blender35\3.5\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_node.py", line 44, in create_vnode
    BlenderNode.create_vnode(gltf, child)
  File "G:\blender\blender35\3.5\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_node.py", line 30, in create_vnode
    obj = BlenderNode.create_object(gltf, vnode_id)
  File "G:\blender\blender35\3.5\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_node.py", line 111, in create_object
    bpy.data.scenes[gltf.blender_scene].collection.objects.link(obj)
KeyError: 'bpy_prop_collection[key]: key "" not found'

fileimage

**System Information** Operating system: Windows 11 22H2 22621.1265 Graphics card: NVIDIA 1050 Ti/Intel UHD630 PYTHON INTERACTIVE CONSOLE 3.10.9 (main, Dec 8 2022, 14:09:03) [MSC v.1928 64 bit (AMD64)] **Blender Version** Broken: (3.5.0 beta, 4CB119F5339F, master, 2023.02.15 23:48) Worked: (3.4.1 version of Blender that worked as expected) **Short description of error** can not import .glb(gtlf) file as normal **Exact steps for others to reproduce the error** ``` Python: Traceback (most recent call last): File "G:\blender\blender35\3.5\scripts\addons\io_scene_gltf2\__init__.py", line 1272, in execute return self.import_gltf2(context) File "G:\blender\blender35\3.5\scripts\addons\io_scene_gltf2\__init__.py", line 1300, in import_gltf2 if self.unit_import(path, import_settings) == {'FINISHED'}: File "G:\blender\blender35\3.5\scripts\addons\io_scene_gltf2\__init__.py", line 1320, in unit_import BlenderGlTF.create(gltf_importer) File "G:\blender\blender35\3.5\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_gltf.py", line 37, in create BlenderGlTF._create(gltf) File "G:\blender\blender35\3.5\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_gltf.py", line 44, in _create BlenderScene.create(gltf) File "G:\blender\blende``` r35\3.5\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_scene.py", line 36, in create BlenderNode.create_vnode(gltf, 'root') File "G:\blender\blender35\3.5\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_node.py", line 44, in create_vnode BlenderNode.create_vnode(gltf, child) File "G:\blender\blender35\3.5\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_node.py", line 30, in create_vnode obj = BlenderNode.create_object(gltf, vnode_id) File "G:\blender\blender35\3.5\scripts\addons\io_scene_gltf2\blender\imp\gltf2_blender_node.py", line 111, in create_object bpy.data.scenes[gltf.blender_scene].collection.objects.link(obj) KeyError: 'bpy_prop_collection[key]: key "" not found' ``` file![image](/attachments/72e303b7-38f4-4b95-8c24-bc5dff60104d)
154 KiB
Feng added the
Severity
Normal
Type
Report
Status
Needs Triage
labels 2023-02-16 15:35:20 +01:00
Member

Hello,
I can not reproduce with our test CI: https://github.com/KhronosGroup/glTF-Blender-IO/actions/runs/4187783967/jobs/7274790585

As requested, please provide a sample .gltf or .glb file you can't import.

Hello, I can not reproduce with our test CI: https://github.com/KhronosGroup/glTF-Blender-IO/actions/runs/4187783967/jobs/7274790585 As requested, please provide a sample .gltf or .glb file you can't import.
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-02-16 18:26:06 +01:00
Member

I'd rather close this report and open it again in add-ons repo.

I'd rather close this report and open it again in add-ons repo.
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-02-16 18:28:54 +01:00
Member

created: blender/blender-addons#104415
Please move further discussion to the new report.

created: https://projects.blender.org/blender/blender-addons/issues/104415 Please move further discussion to the new report.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#104822
No description provided.