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

Select dependencies in 2019

Discussion in 'Asset Bundles' started by magglemitch, Jun 19, 2019.

  1. magglemitch

    magglemitch

    Joined:
    Dec 8, 2013
    Posts:
    78
    Working with asset bundles has been quick and easy - I'd create a prefab of something, right click and select dependencies. From there I can set all of the assets to be under a specific asset bundle and then build.

    Updating to Unity 2019, this process has become a bit harder. When I select dependencies, it won't let me set all of the assets to an asset bundle. It seems the mono scripts are getting selecting and are getting in the way of setting everything at once. I basically have to narrow the selection one by one by setting all of the animation components, then the textures, then the audio etc.

    Is there a way around this that I'm unaware of?

    Thanks!
     
  2. magglemitch

    magglemitch

    Joined:
    Dec 8, 2013
    Posts:
    78
    Anyone have an easier way?
     
  3. MacroPinch

    MacroPinch

    Joined:
    Dec 6, 2013
    Posts:
    40
    Yes, this is a huge pain for us too. When you select 2 or more files of different types, for example, a Prefab and a Scriptable Object the AssetBundle menu in Unity disappears and you can't assign the asset bundle to both files. You have to do it one by one. One of our projects has several hundred files and this change in Unity 2019 is a massive disappointment.
     
  4. magglemitch

    magglemitch

    Joined:
    Dec 8, 2013
    Posts:
    78
    Have you managed to find a workaround for this? Or are you sticking with 2018?
     
  5. MacroPinch

    MacroPinch

    Joined:
    Dec 6, 2013
    Posts:
    40
    Moved to 2019 and we are using scripts to set the asset bundle name based on some rules/filters. It's not optimal.
     
unityunity