Search Issue Tracker

Duplicate

Votes

0

Found in

5.5.2p2

Issue ID

898768

Regression

Yes

Material Asset Bundle contains texture when texture's type is Sprite

Asset Bundles

-

Reproduction steps:
1) Download and open attached project ("ABDemo.zip")
2) Build asset bundles (upper menu: AB\Build)
3) Open file explorer and go to .\Assetbundle\ab\mat\
-- Notice that ui.ab 's size is bigger than .\Assetbundle\ab\tex\ui.ab 's (which means ui.ab from mat folder contains texture and material)

4) Change Texture's type from Sprite to any other (for example Default)
5) Build asset bundles once again
-- Notice that ui.ab from "mat" folder size is much lower

Expected result:
Material's asset bundle should not contain texture itself

Regression appeared in 5.4.0f3

Reproduced with:
5.4.0f3, 5.4.5p1, 5.5.3p1, 5.6.0p2, 2017.1.0b1

Unable to reproduce:
5.3.8f1

Comments (1)

  1. 81a8885ac32537bf1d4fbaf1c16b06e5?d=mm

    akhara

    Jun 13, 2019 09:03

    Not a duplicate.
    It's a different Issue. Still present in Unity 2018.4.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.