Asset bundle scene without dependencies
In Unity 5.6, when calling
public static AssetBundleManifest BuildAssetBundles(string outputPath, AssetBundleBuild[] builds, BuildAssetBundleOptions assetBundleOptions, BuildTarget targetPlatform);
where a scene is in one of the builds, all dependencies/references in that scene will automatically be included.
I have a situation where a scene can reference some assets that are exclusive to that scene, and some assets that are shared with other scenes. I would like the shared assets to be built in one asset bundle, and the scene and its' exclusive assets in another asset bundle. My wish is for the shared assets to be placed in one folder, and each scene and its' exclusive assets to be placed in one folder each, and build one asset bundle per folder.
Is it possible to not include the references/dependencies in a scene when building an asset bundle containing it?
Is it possible to specify a folder in which to include all assets in the asset bundle (rather than having a scene define it, or marking them specifically as part of an asset bundle in the inspector)?
Your answer
Follow this Question
Related Questions
How to remove old and unnecessary addressables assetpacks from the device 1 Answer
just want to download the asset bundle and will later load it into memory??? 0 Answers
Should i mark sub-objects of an addressable prefab as Addressable? 0 Answers
Same asset file but assetbundle file 0 Answers
Load Assets into Unity without Asset Bundle at Runtime 0 Answers