App size increased for 2017.3.p3

Hi,

We want to promote our Unity version from 2017.1.1f to 2017.3.p3.
However, the Android build size (apk) was increased from 77MB to 105MB.

Under the editor.log build report we can see the following:

2017.1.1f:

Build Report
Uncompressed usage by category:
Textures 102.2 mb 75.3%
Meshes 1.4 mb 1.0%
Animations 163.0 kb 0.1%
Sounds 2.3 mb 1.7%
Shaders 169.0 kb 0.1%
Other Assets 4.4 mb 3.2%
Levels 7.9 kb 0.0%
Scripts 8.2 mb 6.0%
Included DLLs 14.6 mb 10.8%
File headers 2.2 mb 1.7%
Complete size 135.7 mb 100.0%

2017.3.p3
Build Report
Uncompressed usage by category:
Textures 102.2 mb 42.6%
Meshes 1.4 mb 0.6%
Animations 177.6 kb 0.1%
Sounds 2.3 mb 1.0%
Shaders 175.0 kb 0.1%
Other Assets 4.5 mb 1.9%
Levels 7.9 kb 0.0%
Scripts 8.2 mb 3.4%
Included DLLs 14.3 mb 6.0%
File headers 2.3 mb 0.9%
Complete size 240.0 mb 100.0%

What can be the differences?

Are you by chance now using LZ4 data file compression? It may increase the APK size at the cost of faster startup. Try setting the default compression in the build player window.

It is set to the default…

So anything else?
BTW, I compared every setting page between the versions, and all the settings are the same (Player settings, Graphics…).

If you could share the APKs - I may have the answer for you.

I’ve compared the apks, these are the differences:

Previous version: 2017.1.1f
New version: 2017.3.3p

lib\armeabi-v7a:
Previous: 38,406 KB
New: 65,522 KB

lib\x86:
Previous: 39,895 KB
New: 72,901 KB

bin\Data:
In the previous version I had only 9 files and Managed folder - weight about 40 MB
In the new version I have 554 (Most of the are name with some GUID) - weight about 114MB, the largest file over there is: 00000000000000000000000000000000 and weights 14,852 KB

Is this helps to understand, whats going on?

Sorry I can’t conclude anything without looking at the APKs myself.

Can I send you the apk in some private way?

Just did a test with some other demo project and got the same experience - there is missing information on the build report:

Build Report
Uncompressed usage by category:
Textures 2.8 mb 6.0%
Meshes 325.3 kb 0.7%
Animations 0.0 kb 0.0%
Sounds 1018.2 kb 2.1%
Shaders 309.0 kb 0.6%
Other Assets 140.5 kb 0.3%
Levels 38.3 kb 0.1%
Scripts 693.7 kb 1.4%
Included DLLs 10.9 mb 23.1%
File headers 10.7 kb 0.0%
Complete size 47.4 mb 100.0%

Where are around 70% of the mb ???

Hi,
I experience the same stuff… my App is 105MB but the Build Inspector doesnt show all the files… My biggest file in the build itself is 980kb, everything bigger is “outsourced” in AssetBundles. No idea where ~70MB do come from…

Did you find any solution or better information about the App size?

If you have Android Studio installed, you may try Build => Analyze APK option. Gives you an insight into what is using your APK size, has both compressed and uncompressed sizes.

1 Like