Answered
"sbsbaker.exe --opt-descr" command returned non-zero exit status -1. And I want to know the meaning
When I use pysbs to cook my mesh to AO.png, I use:
// code begin
batchtools.sbsbaker_ambient_occlusion_from_mesh(low_poly_path,
highdef_mesh = high_poly_path,
output_size=[resolution,resolution],
output_format="png",
output_path=texture_path,
average_normals ="true",
output_name=node.parm("ao_suffix").eval()
).wait()
// code end
Some times, I got error:
CalledProcessError: Command '[u'C:\\Program Files\\Allegorithmic\\Substance Automation Toolkit\\sbsbaker.exe', u'--opt-descr']' returned non-zero exit status -1
I want to know what is exit code -1 means, but I go to SAT documentation (https://substance3d.adobe.com/documentation/sat/command-line-tools/sbsbaker/sbsbaker-command-line-options)
I got nothing with exit code of "--opt-descr"
Also nothing in "sbsbaker.exe --opt-descr -h"
Please help me findout that, for what reson I will get exit code -1?
Thanks
