Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

How can I view why an asset bundle is dependent on another

Discussion in 'Asset Bundles' started by mr-bulldops, Jun 26, 2018.

  1. mr-bulldops

    mr-bulldops

    Joined:
    Dec 2, 2016
    Posts:
    12
    I was wondering if there was an easy way to see exactly why an assetbundle is dependent on another? I didn't see anything in the asset bundle browser and couldn't find anything in the documentation.

    Unity Version: 2017.4.1f1

    Thanks
     
  2. AlienMe

    AlienMe

    Joined:
    Sep 16, 2014
    Posts:
    74
    We haven't found an easy way to do this. IMO, the Asset Bundle system works as a magic black box, where you don't have any visibility into what goes where, and why.

    Assuming you have 2 bundles, A and B, and you want to find out why Bundle B depends on A:

    What we have tried in the past:
    1) (Making sure you have everything in Git, or backed up), remove Bundle A, and then in the Bundle Browser you can see which assets are auto-included.

    2) In another case, we modified the source code for Asset Bundle Browser, to print to the console when a dependency was making it list another bundle in the browser window. This would produce a lot of output, but then you could dig and find out the culprit.

    Both options are primitive and cumbersome.
     
  3. hromoyDron

    hromoyDron

    Joined:
    Jan 24, 2013
    Posts:
    83
    Is there any progress on this topic?
     
unityunity