Skip to content

Commit

Permalink
Fix AssetDatabase cache issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Krysiek committed Oct 9, 2023
1 parent c6a1a8c commit a3a19f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public static void RunCheck()
{
string oldMainDirPath = AssetDatabase.GUIDToAssetPath(OLD_MAIN_DIR_GUID);

if (oldMainDirPath != "")
if (AssetDatabase.IsValidFolder(oldMainDirPath))
{
bool remove = EditorUtility.DisplayDialog(
"CuteDancer: legacy version detected",
Expand Down

0 comments on commit a3a19f6

Please sign in to comment.