-
Notifications
You must be signed in to change notification settings - Fork 111
AssetPack name is taken from bundlePath #143
Copy link
Copy link
Closed
Description
We are using unity addressables that generate bundle files with .bundle extension. So when we tried to add assetPack with that extension, we got error InvalidBundleName.
So we found a workaround, where we directly add to AssetPacks in AssetPackConfig:
config.AssetPacks.Add(addressableGroupBase.BundleName, new AssetPack()
{
AssetBundleFilePath = addressableGroupBase.FilePath,
DeliveryMode = addressableGroupBase.InstallTimeDelivery ? AssetPackDeliveryMode.InstallTime : AssetPackDeliveryMode.OnDemand
});
This worked just fine until we updated AssetDelivery from 1.4.0 to 1.5.0. Then, after running BundleTool, Unity builds entire game and at the very end it gets exception InvalidBundleName - asset pack name "PATH_TO_BUNDLE" is invalid.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels