1
Substance Painter - Technical Support - PLUGIN PATH not working when setting up using python
on: June 25, 2021, 05:14:05 pm
Hi,
I'm trying to launch Substance painter in my studio using a python code.
When I try the above code, the splash screen shows up and it crashes without any error message. This works when I remove the env option.
Can somebody help me fix this please??
Thanks
I'm trying to launch Substance painter in my studio using a python code.
Code: [Select]
cmdlist = [sbs_exe_path, "--mesh", mesh_path]
cmd = subprocess.Popen(cmdlist,stdout=subprocess.PIPE,stderr=subprocess.PIPE,env={"SUBSTANCE_PAINTER_PLUGINS_PATH": "path/to/plugin/folder"})
When I try the above code, the splash screen shows up and it crashes without any error message. This works when I remove the env option.
Can somebody help me fix this please??
Thanks