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