Skip to content

Commit 71f4fb5

Browse files
author
AJubrey
committed
[ADDED] a quick check to make sure that the path needs to be not null or empty, as well as an actual valid path
1 parent f105149 commit 71f4fb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/FbxExporters/Editor/FbxExportSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ public static void SetRelativeSavePath(string newPath) {
725725
public static string GetIntegrationSavePath()
726726
{
727727
//If the save path gets messed up and ends up not being valid, just use the project folder as the default
728-
if (string.IsNullOrEmpty(instance.IntegrationSavePath.Trim()))
728+
if (string.IsNullOrEmpty(instance.IntegrationSavePath.Trim()) && Directory.Exists(instance.IntegrationSavePath))
729729
{
730730
//The project folder, above the asset folder
731731
Directory.GetCurrentDirectory().ToString();

0 commit comments

Comments
 (0)