Closed eisegesis-623 closed 1 month ago
Can you try it again with the latest master commit? This issue is possibly already fixed
Op didn't respond but I'm pretty sure this one already fixed
Apologies for not responding, I didn't see a notification :( but yes it appears to be fixed now. Thank you so much!
I've been attempting to use the new "Open Material Images to Layer" functionality for the Asset Browser in Ucupaint 2.1.0 in blender 4.2.0 Stable.
Step by step, here is what I am doing and what is occurring.
Python: Traceback (most recent call last): File "C:\Users\pauly\AppData\Roaming\Blender Foundation\Blender\4.2\extensions\blender_org\ucupaint\Layer.py", line 2131, in execute with bpy.data.libraries.load(str(blend_file), assets_only=True) as (data_from, data_to): OSError: load: myfilepath\myblenderfile.blend failed to open blend file
What seems to be happening with the error message is that Ucupaint (or the asset browser) is, for some reason, scanning every .blend file in every folder/subfolders of every asset library, regardless of whether the .blend has an asset in it or if the selected material asset is even in that library. If any .blend files in any of these folders are corrupted, Blender will return an error and the functionality will break. Additionally, if the material is present in the file already the scan will not occur and there will be no errors (as demonstrated by the behavior with the "copies" caused by the error).