Skip to content

Commit f20c664

Browse files
authored
Merge pull request #220 from Unity-Technologies/UNI-31736-fix-export-setting-error-when-installing-new-package
UNI-31736 fix export settings error when updating package
2 parents fae413f + 7736c4a commit f20c664

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Assets/FbxExporters/Editor/FbxExportSettings.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,8 @@ public static void SetRelativeSavePath(string newPath) {
786786
public static string GetIntegrationSavePath()
787787
{
788788
//If the save path gets messed up and ends up not being valid, just use the project folder as the default
789-
if (string.IsNullOrEmpty(instance.IntegrationSavePath.Trim()) || !Directory.Exists(instance.IntegrationSavePath))
789+
if (string.IsNullOrEmpty(instance.IntegrationSavePath) ||
790+
!Directory.Exists(instance.IntegrationSavePath))
790791
{
791792
//The project folder, above the asset folder
792793
instance.IntegrationSavePath = DefaultIntegrationSavePath;

0 commit comments

Comments
 (0)