Search Issue Tracker

By Design

Votes

1

Found in

2021.3.11f1

2022.3.7f1

2023.1.0a13

2023.2.0b5

2023.3.0a1

6000.0.0b11

Issue ID

UUM-19270

Regression

Yes

Asset Bundle build size increased when upgraded Unity version [Android ResS content]

-

Reproduction steps:

  1. Open the user’s attached project (“BundleSizeTest.zip”)
  2. Select "build/asset bundles" from the Editor’s menu
  3. Open the project’s root folder
  4. Look for the "bundles-<unity version>" folder (if the Unity version is 2022.1.14f1 then the folder will be called "bundles-2022-1-14f1”)
  5. Check the size of that folder

Expected result: The size of the "bundles-<unity version>" folder is 277 KB
Actual result: The size of the folder is 329 KB

Reproducible with: 2021.1.0b10, 2021.1.28f1, 2021.3.11f1, 2022.1.19f1, 2022.2.0b9, 2023.1.0a13
Not reproducible with: 2020.3.40f1
Could not test with: 2021.1.0a1 - 2021.1.0b9 (No “build/asset bundles” button in the Editor’s menu)

Reproducible with devices:
VLNQA00332, Samsung Galaxy XCover4 (SM-G390F), Android 9, CPU: Exynos 7 Quad 7570, GPU: Mali-T720
VLNQA00325, Samsung Galaxy Note10 (SM-N970F), Android 12, CPU: NOT FOUND, GPU: Mali-G76
VLNQA00318, Oneplus OnePlus 7 Pro (GM1913), Android 11, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00231, Samsung Galaxy A5(2017) (SM-A520F), Android 8.0.0, CPU: Exynos 7 Octa 7880, GPU: Mali-T830
VLNQA00231, Huawei HUAWEI Mate 20 Pro (LYA-L29), Android 9, CPU: HiSilicon Kirin 980, GPU: Mali-G76

Reproduced on: Windows 10 Pro 21H2

Notes:

  • This is NOT to be confused with a similar issue that would increase build size if "compress assets on import" is not ticked
  • 329 KB Bundle folder exceeds limits on the Google Play store and the App Store
  • The bundle folder size might be bigger since the compression ratio of ASTC + LZMA is worse than before
  1. Resolution Note:

    Something about the asset, shaders, or something else has changed in the upgraded version of the Editor, causing the size difference.

Add comment

Log in to post comment