Hi,
As I have read, to build asset bundles that shares dependency, one must use the BuildPipeline.PushAssetDependencies and BuildPipeline.PopAssetDependencies system.
However, if a dependency bundle is already build, say a shared material and texture bundle, How do you avoid rebuilding this bundle everytime we create a new asset bundle or update an asset bundle that references the shared material and texture?
E.G.
BuildPipeline.PushAssetDependencies()
- ??? What to do here to get BuildPipeline’s state to setup the shared bundle without building ???
BuildPipeline.PushAssetDependencies()
BuildPipeline.BuildAssetBundle() // build new/updated bundle that shares prebuild bundle.
BuildPipeline.PopAssetDependencies()
BuildPipeline.PopAssetDependencies()