Skip to content

Commit 4f10a81

Browse files
author
davidkline-ms
committed
Fix for 8733: do not migrate files outside of the Assets folder
1 parent f0aae46 commit 4f10a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/MRTK/SDK/Editor/Migration/Tools/MigrationTool.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ private static List<string> FindAllAssetsOfType(Type[] types)
397397
var filter = string.Join(" ", types
398398
.Select(x => string.Format("t:{0}", x.Name))
399399
.ToArray());
400-
return AssetDatabase.FindAssets(filter).Select(x => AssetDatabase.GUIDToAssetPath(x)).ToList();
400+
return AssetDatabase.FindAssets(filter, new[] {"Assets"}).Select(x => AssetDatabase.GUIDToAssetPath(x)).ToList();
401401
}
402402

403403
private static bool IsSceneGameObject(Object selectedObject)

0 commit comments

Comments
 (0)