diff --git a/Editor/AssetBundleModel/ABModel.cs b/Editor/AssetBundleModel/ABModel.cs index 69dca65..1922df2 100644 --- a/Editor/AssetBundleModel/ABModel.cs +++ b/Editor/AssetBundleModel/ABModel.cs @@ -676,7 +676,7 @@ private static AssetInfo CreateAsset(string name, string bundleName, AssetInfo p internal static bool ValidateAsset(string name) { - if (!name.StartsWith("Assets/")) + if (!name.StartsWith("Assets/") && !name.StartsWith("Packages/")) return false; string ext = System.IO.Path.GetExtension(name); if (ext == ".dll" || ext == ".cs" || ext == ".meta" || ext == ".js" || ext == ".boo")