Search Unity

Build AssetBundle for SpriteAtlas not include Dependencies in any other AssetBundle??

Discussion in 'Editor & General Support' started by TrustTJM, May 16, 2018.

  1. TrustTJM


    Dec 14, 2013
    The question is like topic~
    My test is that:
    1.I make a prefab include a Image and a Sprite Renderer. And they use the same sprite.

    2.then this sprite is maked for a SpriteAtlas. And set "not Include in Bunild" in the SpriteAtlas's Inspector.

    3.Build AssetBundle for the Prefab And the SpriteAtlas. And check AssetBundleManifest.

    As result. I can't see the prefab's Dependencies include SpriteAtlas's AssetBundle. So I can only load SpriteAtlas's AssetBundle by hard code....If it need several SpriteAtlas? Think I will be go crazy.... I have used two version which are 2017.2.1f1 and 2017.4.3f1. Also the same result.By the way, legacy atlas is OK, it auto collect Dependencies...

    So it is bug or My bug or design?
  2. rebelincontrol


    May 19, 2015
    Did you figure this out? Is it by design?