-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asset bundles in subfolders cause errors in play delivery #30
Comments
Thanks @Ender-w for filing this issue. Our original API has had the restriction that asset packs are mapped 1-to-1 with AssetBundles. We have a new API where asset packs can contain arbitrary files, e.g. multiple AssetBundles in folders. In this case though the mapping of files to asset packs is entirely up to the developer. Do you think that managing the mapping yourself would work? If not, I can take a look at what it would take to support subfolders. |
Thanks for that, I've managed to map the folders using the new API. One question I have now though is how do I do a build & run to test the app? Since the existing build and run button uses the default AssetPackConfig defined in the UI, whereas i need to be able to pass in my custom AssetPackConfig. Im able to build my AAB using Bundletool.BuildBundle but i cant test with this it seems. |
To overwrite the asset pack config file used during Build and Run, you can call:
We're looking into clearer ways to support this (i.e. specify a custom json file in the Asset Delivery Settings window), but for now this should let you Build and Run with your custom config. |
I have the same problem. I don’t know how to deal with the problem of subfolders. I hope you can tell me, thank you! |
When creating asset bundles the main method of organisation is to split bundles into folders based on the asset bundle names.
For example: "subfolder/bundle1".
When trying to add this bundle to the asset delivery configuration it gives the error "An Asset bundle file with this name is missing from the folder"
As far as i can see it looks like only asset bundles in the root asset bundle directory is supported which seems wrong.
Unless I'm missing something it seems like its just not supported.
Asset bundles in subfolders should be supported to be included in asset delivery packages.
The text was updated successfully, but these errors were encountered: