diff --git a/Assets/YooAsset/Samples~/Extension Sample/Scripts/Editor/PatchImportWindow.cs b/Assets/YooAsset/Samples~/Extension Sample/Scripts/Editor/PatchImportWindow.cs index 1678da6..9a7299e 100644 --- a/Assets/YooAsset/Samples~/Extension Sample/Scripts/Editor/PatchImportWindow.cs +++ b/Assets/YooAsset/Samples~/Extension Sample/Scripts/Editor/PatchImportWindow.cs @@ -84,8 +84,8 @@ namespace YooAsset.Editor foreach (var patchBundle in patchManifest.BundleList) { fileCount++; - string sourcePath = $"{outputDirectory}/{patchBundle.Hash}"; - string destPath = $"{AssetBundleBuilderHelper.GetStreamingAssetsFolderPath()}/{patchBundle.Hash}"; + string sourcePath = $"{outputDirectory}/{patchBundle.FileName}"; + string destPath = $"{AssetBundleBuilderHelper.GetStreamingAssetsFolderPath()}/{patchBundle.FileName}"; EditorTools.CopyFile(sourcePath, destPath, true); } } @@ -97,8 +97,8 @@ namespace YooAsset.Editor continue; fileCount++; - string sourcePath = $"{outputDirectory}/{patchBundle.Hash}"; - string destPath = $"{AssetBundleBuilderHelper.GetStreamingAssetsFolderPath()}/{patchBundle.Hash}"; + string sourcePath = $"{outputDirectory}/{patchBundle.FileName}"; + string destPath = $"{AssetBundleBuilderHelper.GetStreamingAssetsFolderPath()}/{patchBundle.FileName}"; EditorTools.CopyFile(sourcePath, destPath, true); } }