asset_bridge icon indicating copy to clipboard operation
asset_bridge copied to clipboard

592933

Open aleksandr0s opened this issue 1 year ago • 0 comments

When using the material on the model, an error occurs. Downloading hdris and materials may not work as expected when Blender has multiple windows open. Blender is weird :( Error importing asset ph_asphalt_01: Traceback (most recent call last): File "C:\Users\admin\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\asset_bridge\helpers\assets.py", line 197, in import_asset imported = asset.import_asset(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\admin\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\asset_bridge\apis\polyhaven\ph_asset.py", line 136, in import_asset mat = import_material(texture_files, self.import_name, link_method=self.link_method) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\admin\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\asset_bridge\apis\asset_utils.py", line 252, in import_material bsdf_node = nodes["Principled BSDF"] ~~~~~^^^^^^^^^^^^^^^^^^^ KeyError: 'bpy_prop_collection[key]: key "Principled BSDF" not found'

aleksandr0s avatar May 28 '24 15:05 aleksandr0s