AssetBundles-Browser icon indicating copy to clipboard operation
AssetBundles-Browser copied to clipboard

sprite atlas dependency miscalculation

Open alffanclub opened this issue 7 years ago • 2 comments

From the forum https://forum.unity.com/threads/asset-bundle-browser-initial-release.465766/#post-3348577

Hi, I find that the asset bundle browser pulled wrong assets in AssetList sometimes. For example, I set a SpriteAtlas to a bundle "spritesatlas/shop", then it show warning that there are duplicated dependency, but I am sure that that SpriteAtlas don't contain those sprites. And the log report also don't contains those sprites. Those duplicated Sprites are in another bundle.

Screen Shot 2018-01-05 at 5.35.17 PM.png

Bundle Name: shop Compressed Size:116.6 kb Uncompressed usage by category: Textures 1.3 mb 98.6% Meshes 0.0 kb 0.0% Animations 0.0 kb 0.0% Sounds 0.0 kb 0.0% Shaders 0.0 kb 0.0% Other Assets 10.1 kb 0.8% Levels 0.0 kb 0.0% Scripts 0.0 kb 0.0% Included DLLs 0.0 kb 0.0% File headers 7.6 kb 0.6% Complete size 1.3 mb 100.0%

Used Assets and files from the Resources folder, sorted by uncompressed size: 1.0 mb 78.9% Built-in Texture2D: sactx-1024x1024-fmt36-2b899810486a6337147d95e51b768f32 256.1 kb 19.7% Built-in Texture2D: sactx-256x1024-fmt36-2b899810486a6337147d95e51b768f32 1.7 kb 0.1% Assets/PH/Sprites/UI/Shop/icon_shopItem_gems.png 1.5 kb 0.1% Assets/PH/Sprites/UI/Shop/icon_shopItem_coins.png 1.5 kb 0.1% Assets/PH/SpriteAtlas/Shop.spriteatlas 0.7 kb 0.1% Assets/PH/Sprites/UI/Shop/icon_shopframe_gift.png 0.7 kb 0.1% Assets/PH/Sprites/UI/Shop/icon_shopframe_c.png 0.7 kb 0.1% Assets/PH/Sprites/UI/Shop/icon_shopframe_b.png 0.7 kb 0.1% Assets/PH/Sprites/UI/Shop/icon_shopframe_a.png 0.5 kb 0.0% Assets/PH/Sprites/UI/Shop/icon_shop_gemsCoins.png 0.5 kb 0.0% Assets/PH/Sprites/UI/Shop/icon_popup_banner.png 0.5 kb 0.0% Assets/PH/Sprites/UI/Shop/icon_shop_new.png 0.4 kb 0.0% Assets/PH/Sprites/UI/Shop/icon_shop_gems_bg.png 0.4 kb 0.0% Assets/PH/Sprites/UI/Shop/icon_shop_coins_bg.png 0.3 kb 0.0% AssetBundle Object

alffanclub avatar Jan 31 '18 14:01 alffanclub

Hi Bill,

We are facing the same issue. It seems that the asset bundle browser shows incorrect information when using sprite atlases. Any update on this issue?

Thanks, Yaniv

yanivshaked avatar Apr 09 '18 10:04 yanivshaked

Hi there! I meet same issue. Any update?

it's depends on "include in build" option of SpriteAtlas. Please check it.

Thanks, AssetBundles-Browser Team.

sunlightu1225 avatar Jul 22 '19 07:07 sunlightu1225