diff --git a/Assets/VersionFlow/Editor/PatchUploader/PatchUploaderUtility.cs b/Assets/VersionFlow/Editor/PatchUploader/PatchUploaderUtility.cs index 841b6c4..95ee6ea 100644 --- a/Assets/VersionFlow/Editor/PatchUploader/PatchUploaderUtility.cs +++ b/Assets/VersionFlow/Editor/PatchUploader/PatchUploaderUtility.cs @@ -95,12 +95,12 @@ namespace VersionFlow.Editors { foreach (var guid in AssetDatabase.FindAssets("t:builderconfig", new string[] { "Assets" })) { - var type = AssetDatabase.GetMainAssetTypeFromGUID(new GUID(guid)); + var path = AssetDatabase.GUIDToAssetPath(guid); + var type = AssetDatabase.GetMainAssetTypeAtPath(path); if (type == null) continue; if (type != typeof(BuilderConfig)) continue; - var path = AssetDatabase.GUIDToAssetPath(guid); var builder = AssetDatabase.LoadAssetAtPath(path); return builder; }