Grim-es/material-combiner-addon

Traceback error when attempting to merge a certain material

Luxiram opened this issue · 6 comments

I'm trying to atlas all of my materials and one of the materials keeps getting this traceback error, preventing it from being merged with the other textures

Python: Traceback (most recent call last):
File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\material-combiner-addon-master\extend_lists.py", line 18, in draw_item
mat_preview = item.mat.preview
AttributeError: 'NoneType' object has no attribute 'icon_id'

location: C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\material-combiner-addon-master\ui\main_menu.py:20

image
i get a similar error.

image i get a similar error.

Hello, you might be used an unsupported shader. You can view the file utils/materials.py to see what shaders are supported or what node names should be

Python: Traceback (most recent call last):
File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\material-combiner-addon-master\extend_lists.py", line 18, in draw_item
mat_preview = item.mat.preview
AttributeError: 'NoneType' object has no attribute 'icon_id'

Should be fixed on latest update

i checked and mtoon is supported, i tried changing it all to principled but same error

Keyerror: 'bpy_prop_collection[key]: key"Principled BSDF"not found'
Why I got this error when I using"Save Atlas to"

Keyerror: 'bpy_prop_collection[key]: key"Principled BSDF"not found' Why I got this error when I using"Save Atlas to"

It appears that your Blender is not set to English, which results in a different name property on the shader node. Please change it to Principled BSDF for all materials and also update name of texture node that will be used in atlas process to Image Texture as well for all materials. Or switch to Diffuse BSDF shader and connect proper texture node to single input. For Diffuse BSDF texture node name is also required to be Image Texture.