Search Unity

How to exclude dependencies with AssetBundleBuild

Discussion in 'Asset Bundles' started by LoftySky, Nov 13, 2018.

  1. LoftySky

    LoftySky

    Joined:
    Mar 30, 2015
    Posts:
    13
    When using BuildPipeline.BuildAssetBundles() with the AssetBundleBuild option, it appears that all the asset dependencies get included into the asset bundles. The dependencies are tagged as targeted for a separate asset bundle, but that doesn't seem to affect the result.

    How can dependencies be excluded from asset bundles using this method of construction?