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.

Selecting glTF 2.0 Compatible Materials Causing ERRORS

Home Forums Graphics / Blender Selecting glTF 2.0 Compatible Materials Causing ERRORS

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #26556
    jstubb
    Customer

    Hello,

    I am attempting to optimize the loading speed of my current project. When attempting to select the “glTF 2.0 compatible” option on my models materials I receive a long list of errors when attempting to Sneak Peek the model preview or export to at glTF format. My materials were not made from scratch in blender but were instead imported with a fbx type file. Many errors pop up post I have posted some of the suspicious lines below.

    
    Traceback (most recent call last):
    ... 
    2.82\2.82\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 "C:\Users\Stubb\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\verge3d\__init__.py", line 140, in execute
        return gltf2_export.save(self, context, exportSettings)
      File "C:\Users\Stubb\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\verge3d\gltf2_export.py", line 120, in save
        generateGLTF(operator, context, exportSettings, glTF)
      File "C:\Users\Stubb\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\verge3d\gltf2_generate.py", line 3171, in generateGLTF
        generateMaterials(operator, context, exportSettings, glTF)
      File "C:\Users\Stubb\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\verge3d\gltf2_generate.py", line 2910, in generateMaterials
        index = get_texture_index_node(exportSettings, glTF, 'Normal', blender_node)
      File "C:\Users\Stubb\AppData\Roaming\Blender Foundation\Blender\2.82\scripts\addons\verge3d\gltf2_get.py", line 207, in get_texture_index_node
        fromNode = fromNode.inputs['Color'].links[0].from_node
    IndexError: tuple index out of range
    

    Please let me know what I am doing wrong or if any further information is required to specifically identify the issue.

    #26580

    Hi,

    can you share your blend file? (you can also send a link to it via enterprise support email). We’d take a look at this issue. Thanks!

    Chief 3D Verger | LinkedIn | Twitter

    #26752
    jstubb
    Customer

    Hi Yuri,

    Thank you for taking the time to respond! I have emailed enterprise support with the blend file.

    #26791

    Hi,

    thanks for the blend file. We managed to resolve the issue. The fixed addon will be available in the stable Verge3D for Blender release expected today or tomorrow.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #27070

    Hello, I have the exact same problem, will this be fixed in an update? Thanks

    #27084

    Hi,

    will this be fixed in an update?

    Yes, the fix landed in the most recent version 3.1. Check it out!

    Chief 3D Verger | LinkedIn | Twitter

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