We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

blender 2.81/2.17 pre1 sneak peek crashes

Home Forums Bug Reports and Feature Requests blender 2.81/2.17 pre1 sneak peek crashes

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #21522
    stillpointx
    Participant

    Blender 2.81/2.17pre1 running sneak peek crashes verge3d and errors pop up. I included a zip attachment link with file. I’m running Ubuntu 18.04 64bit Linux, Blender 2.81

    https://gitlab.com/ijk4de/3d/raw/master/public/quaternion_rot_01_decal_final.blend.zip

    zip blend file which causes crash
    Errors below

    … truncatedINFO: Starting glTF 2.0 export
    DEBUG: Tangent attribute will not be exported for mesh “BezierCurve”
    DEBUG: Tangent attribute will not be exported for mesh “Plane.002”
    INFO: Extracting BezierCurve primitives
    DEBUG: Adding primitive without splitting. Indices: 765300 Vertices: 127924
    INFO: Primitives created: 1
    INFO: Extracting Plane.002 primitives
    DEBUG: Adding primitive without splitting. Indices: 6 Vertices: 4
    INFO: Primitives created: 1
    Traceback (most recent call last):
    File “/home/rt/Documents/My Documents/blender/addons/verge3d_2.17_pre/addons/verge3d/__init__.py”, line 148, in execute
    return gltf2_export.save(self, context, exportSettings)
    File “/home/rt/Documents/My Documents/blender/addons/verge3d_2.17_pre/addons/verge3d/gltf2_export.py”, line 120, in save
    generateGLTF(operator, context, exportSettings, glTF)
    File “/home/rt/Documents/My Documents/blender/addons/verge3d_2.17_pre/addons/verge3d/gltf2_generate.py”, line 3343, in generateGLTF
    generateMeshes(operator, context, exportSettings, glTF)
    File “/home/rt/Documents/My Documents/blender/addons/verge3d_2.17_pre/addons/verge3d/gltf2_generate.py”, line 1489, in generateMeshes
    primitive[‘material’] = get_or_create_default_material_index(glTF)
    File “/home/rt/Documents/My Documents/blender/addons/verge3d_2.17_pre/addons/verge3d/gltf2_get.py”, line 646, in get_or_create_default_material_index
    def_idx = gltf.getMaterialIndex(glTF, DEFAULT_MAT_NAME)
    NameError: name ‘gltf’ is not defined

    location: /snap/blender/34/2.81/scripts/modules/bpy/ops.py:201

    location: /snap/blender/34/2.81/scripts/modules/bpy/ops.py:201
    Error: Traceback (most recent call last):
    File “/home/rt/Documents/My Documents/blender/addons/verge3d_2.17_pre/addons/verge3d/__init__.py”, line 148, in execute
    return gltf2_export.save(self, context, exportSettings)
    File “/home/rt/Documents/My Documents/blender/addons/verge3d_2.17_pre/addons/verge3d/gltf2_export.py”, line 120, in save
    generateGLTF(operator, context, exportSettings, glTF)
    File “/home/rt/Documents/My Documents/blender/addons/verge3d_2.17_pre/addons/verge3d/gltf2_generate.py”, line 3343, in generateGLTF
    generateMeshes(operator, context, exportSettings, glTF)
    File “/home/rt/Documents/My Documents/blender/addons/verge3d_2.17_pre/addons/verge3d/gltf2_generate.py”, line 1489, in generateMeshes
    primitive[‘material’] = get_or_create_default_material_index(glTF)
    File “/home/rt/Documents/My Documents/blender/addons/verge3d_2.17_pre/addons/verge3d/gltf2_get.py”, line 646, in get_or_create_default_material_index
    def_idx = gltf.getMaterialIndex(glTF, Traceback (most recent call last):
    File “/home/rt/Documents/My Documents/blender/addons/verge3d_2.17_pre/addons/verge3d/custom_ui.py”, line 640, in execute
    filepath=join(prev_dir, “sneak_peek.gltf”), export_sneak_peek = True)
    File “/snap/blender/34/2.81/scripts/modules/bpy/ops.py”, line 201, in __call__
    ret = op_call(self.idname_py(), None, kw)
    RuntimeError: Error: Traceback (most recent call last):
    File “/home/rt/Documents/My Documents/blender/addons/verge3d_2.17_pre/addons/verge3d/__init__.py”, line 148, in execute
    return gltf2_export.save(self, context, exportSettings)
    File “/home/rt/Documents/My Documents/blender/addons/verge3d_2.17_pre/addons/verge3d/gltf2_export.py”, line 120, in save
    generateGLTF(operator, context, exportSettings, glTF)
    File “/home/rt/Documents/My Documents/blender/addons/verge3d_2.17_pre/addons/verge3d/gltf2_generate.py”, line 3343, in generateGLTF
    generateMeshes(operator, context, exportSettings, glTF)
    File “/home/rt/Documents/My Documents/blender/addons/verge3d_2.17_pre/addons/verge3d/gltf2_generate.py”, line 1489, in generateMeshes
    primitive[‘material’] = get_or_create_default_material_index(glTF)
    File “/home/rt/Documents/My Documents/blender/addons/verge3d_2.17_pre/addons/verge3d/gltf2_get.py”, line 646, in get_or_create_default_material_index
    def_idx = gltf.getMaterialIndex(glTF, DEFAULT_MAT_NAME)
    NameError: name ‘gltf’ is not defined

    location: /snap/blender/34/2.81/scripts/modules/bpy/ops.py:201

    location: <unknown location>:-1

    location: <unknown location>:-1

    #21537

    I guess this is the same issue as reported here

    blender 2.81/2.17pre1 export complains – armature

    We’ll issue an update soon!

    Chief 3D Verger | LinkedIn | Twitter

    #21795
    stillpointx
    Participant

    Thanks! 2.17 pre2 fixed that issue :)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.