Hey there,
I’m trying to use the ayon_substancepainter addon. The installation was easy, I was able to save a file via the workfile tool but I have an error when I try to publish a texture.
I get this error :
Traceback (most recent call last):
File "C:\Users\my.user\AppData\Local\Ynput\AYON\dependency_packages\ayon_2507011214_windows.zip\dependencies\pyblish\plugin.py", line 528, in __explicit_process
runner(*args)
File "C:\Users\my.user\AppData\Local\Ynput\AYON\addons\substancepainter_0.2.9\ayon_substancepainter\plugins\publish\collect_textureset_images.py", line 29, in process
config = self.get_export_config(instance)
File "C:\Users\my.user\AppData\Local\Ynput\AYON\addons\substancepainter_0.2.9\ayon_substancepainter\plugins\publish\collect_textureset_images.py", line 251, in get_export_config
maps = get_filtered_export_preset(
File "C:\Users\my.user\AppData\Local\Ynput\AYON\addons\substancepainter_0.2.9\ayon_substancepainter\api\lib.py", line 740, in get_filtered_export_preset
resource_presets = substance_painter.export.list_resource_export_presets()
AttributeError: module 'substance_painter.export' has no attribute 'list_resource_export_presets'
It seems it wants to use the list_resource_export_presets() function from the module substance_painter.export but I can’t find it in the documentation.
Also, we’re currently using Substance Painter version 9.1.
So I’m wondering if there is a minimum version of Substance Painter to use the addon with ?
Thank you ![]()