You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debug.LogWarning(string.Format("{0} found in multiple places; did you forget to delete one of these?\n{1}\n{2}",
53
53
FBX_PREFAB_FILE.Substring(1),foundPath,path));
@@ -56,8 +56,10 @@ public static string FindFbxPrefabAssetPath()
56
56
foundPath=path;
57
57
}
58
58
}
59
-
Debug.LogWarning(string.Format("{0} not found; are you trying to uninstall {1}?",FBX_PREFAB_FILE.Substring(1),FbxExporters.Editor.ModelExporter.PACKAGE_UI_NAME));
60
-
return"";
59
+
if(foundPath==""){
60
+
Debug.LogWarning(string.Format("{0} not found; are you trying to uninstall {1}?",FBX_PREFAB_FILE.Substring(1),FbxExporters.Editor.ModelExporter.PACKAGE_UI_NAME));
61
+
}
62
+
returnfoundPath;
61
63
#else
62
64
// In Unity 2018.1, FindAssets can't find FbxPrefab.cs in a package.
0 commit comments