Search Issue Tracker

Fixed in 2022.2.X

Fixed in 2019.4.X, 2020.3.X, 2021.2.X, 2022.1.X

Votes

5

Found in

2019.1.0a2

2019.4

2019.4.34f1

2020.3

2021.2

Issue ID

1391542

Regression

Yes

Asset Bundle size incrementally increases when updating the Unity Editor and rebuilding the Asset Bundle

Asset Bundles

-

How to reproduce:
1. Open the attached "1391542" project
2. Build the Asset Bundle (Build -> Build AssetBundles)
3. Open the "AssetBundles" folder found in the "Assets folder"

Expected result: Very similar or the same size of the files
Actual result: The file size gets incrementally raised

Reproducible with: 2019.1.0a2, 2019.4.34f1, 2020.3.26f1, 2021.2.8f1
Not reproducible with: 2018.4.36f1, 2019.1.0a1
Couldn't test with: 2022.1, 2022.2 ("Error building player because script class layout is incompatible between the editor and the player.")

Note:
- To confirm whether the size of the file was higher or lower sometimes deleting the file "assetbundletest" is required
- The increase in size usually happens after 3-4 iterations of the Unity Editor version, i.e: 20xx.x.5 -> 20xx.x.8

  1. Resolution Note (fix version 2022.2):

    Fixed in: 2022.2.0a6

  2. Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.0b13

  3. Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.18f1

  4. Resolution Note (fix version 2020.3):

    Fixed in: 2020.3.32f1

  5. Resolution Note (fix version 2019.4):

    Fixed in: 2019.4.38f1

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.