Skip to content

Commit 3600bfa

Browse files
committed
check if autodesk root exists
1 parent 1cad2be commit 3600bfa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Assets/FbxExporters/Editor/FbxExportSettings.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,10 @@ private static void FindDCCInstalls() {
327327
dccOptionName.Add ("MAYA_LOCATION");
328328
}
329329

330+
if (!Directory.Exists (kDefaultAdskRoot)) {
331+
// no autodesk products installed
332+
return;
333+
}
330334
// List that directory and find the right version:
331335
// either the newest version, or the exact version we wanted.
332336
var adskRoot = new System.IO.DirectoryInfo(kDefaultAdskRoot);

0 commit comments

Comments
 (0)