Skip to content

Commit 30ce166

Browse files
committed
ignore huge exit code for now
Doesn't prevent the plugin from being installed properly.
1 parent 6adfe57 commit 30ce166

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Assets/FbxExporters/Editor/InstallIntegration.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,12 @@ public static int InstallMaxPlugin(string maxExe){
531531
myProcess.Start();
532532
myProcess.WaitForExit();
533533
ExitCode = myProcess.ExitCode;
534+
535+
// TODO (UNI-29910): figure out what exactly causes this exit code + how to resolve
536+
if(ExitCode == -1073740791){
537+
ExitCode = 0;
538+
}
539+
534540
Debug.Log(string.Format("Ran max: [{0}]\nWith args [{1}]\nResult {2}",
535541
maxExe, myProcess.StartInfo.Arguments, ExitCode));
536542
}

0 commit comments

Comments
 (0)