From 3105521fa91b2cfd392ecc21391277ee0aa919f4 Mon Sep 17 00:00:00 2001 From: e Date: Mon, 19 Feb 2024 22:20:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E6=96=87=E4=BB=B6=E5=90=8D?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E7=A9=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Editor/AssetBundleCollector/CollectRules/IPackRule.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/YooAsset/Editor/AssetBundleCollector/CollectRules/IPackRule.cs b/Assets/YooAsset/Editor/AssetBundleCollector/CollectRules/IPackRule.cs index 1194294..14f0357 100644 --- a/Assets/YooAsset/Editor/AssetBundleCollector/CollectRules/IPackRule.cs +++ b/Assets/YooAsset/Editor/AssetBundleCollector/CollectRules/IPackRule.cs @@ -35,6 +35,7 @@ namespace YooAsset.Editor { string fullName; string bundleName = EditorTools.GetRegularPath(_bundleName).Replace('/', '_').Replace('.', '_').ToLower(); + bundleName = bundleName.Replace(" ", "_"); if (uniqueBundleName) fullName = $"{packageName}_{bundleName}.{_bundleExtension}"; else