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
- Build fails when building a project containing an 18+ dimension array with IL2CPP
- [Android][Sentis] Human poses are not detected when using the BlazePose model
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
Resolution Note:
We started using memory advice library which takes some space. Other increases look minor.