Search Issue Tracker
By Design
Votes
0
Found in
2023.1.0b11
2023.2.0a10
Issue ID
UUM-34048
Regression
Yes
[Android] APK size increases when built with 2023.X
Reproduction steps:
1. Open the attached project "ReproProj" with the Android Platform
2. Go to File > Build Settings and press “Build”
3. Locate the built APK in file explorer
4. Observe the size of the APK file
Expected result: The size of APK does not increase
Actual result: The size of APK increases by about 1,200 KB
Reproducible with: 2023.1.0a11, 2023.1.0b11, 2023.2.0a10
Not reproducible with: 2020.3.47f1, 2021.3.22f1, 2022.2.14f1, 2023.1.0a10
Testing environment: Windows 10 Enterprise 21H2
Notes:
- libunity.so increased by ~ 1 MB
- libil2cpp.so decreased by ~ 0.3 MB
- unity default resources increased by ~ 484 KB
- Size results of built APKs:
Version | Size
2020.3.47f1 | 6,788 KB
2021.3.22f1 | 6,890 KB
2022.2.14f1 | 6,715 KB
2023.1.0b11 | 7,896 KB
2023.2.0a10 | 7,922 KB
Comments (1)
-
fejuto
Apr 25, 2023 18:47
Is there a way to disable the usage of Memory Advice Library?
We're targeting Google Play Instant, which has a 15MB build size limit. So every KB counts! This 1MB+ increase will prevent us from upgrading Unity.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
We started using memory advice library which takes some space. Other increases look minor.