Copy link to clipboard
Copied
Hi, is there a way to automate the installation of plugins to Substance 3D Sampler without having to manually select the plugin from the preferences window?
For example, in Substance Designer, you can copy the plugin to the appropriate plugins folder and Designer recognizes it automatically and loads it without requiring any user intervention.
Thanks!
Copy link to clipboard
Copied
Hello,
There are two environment variables:
By defining those paths, you can add your plugins and scripts automatically there.
Thanks
Copy link to clipboard
Copied
thanks for the quick response! that works if I set the env variable in a terminal and run Sampler directly from the command line but doesn't seems to work if I launch Sampler through the normal method of opening it in Finder or through the taskbar.
Copy link to clipboard
Copied
Update: I was able to set the env variable in mac globally for all apps following this stackoverflow post. However, it would be nice if the Sampler already looked at ~/Documents/Adobe/Adobe Substance 3D Sampler/python/plugins by default, or even if you could adjust/add paths from within the Sampler settings, or through the python API.
I also noticed that if the zip file is still in the SAMPLER_PLUGIN_PATH folder when you start Sampler and the plugin has already been installed, Sampler crashes (see attached crash report).
Will these issues be addressed?
Thanks
Copy link to clipboard
Copied
in the meantime, is there a way to detect if a plugin has been loaded and a way to remove the plugin from sampler through an api or the command line?
Copy link to clipboard
Copied
another bit of info. it was crashing for me on mac, but I tried in windows as well and it often crashes there too if the zip file is left in the SAMPLER_PLUGIN_PATH. Sometimes Sampler will load without crashing but the plugin doesn't seem to be loaded
Copy link to clipboard
Copied
bumping this. did anyone get to look into this issue yet? thanks