Reduce a size of APK and IPA – Unity 3d

Last updated : May 23, 2017

Posted by: 6

For reducing APK size:

In Unity 5.6.0f3 I have created a simple "Hello world" program and build an APK file, it consumes 21.2 MB at first but to reduce the size you have to follow these steps:

1) Player settings > other settings > Optimization > API compatibility level > .NET 2.0 Subset.

To avoid memory wastage, Unity also supports the .NET 2.0 Subset API profile. This is very similar to the Mono "MonoTouch" profile, so many limitations of the "MonoTouch" profile also apply to Unity's .NET 2.0 Subset profile.Unity's .NET 2.0 Subset profile.

2)  Player settings > other settings > device filter > ARMv7

ARM and x86 are both processor architectures. x86 belongs to Intel while the ARM is used by different companies and widely used, so no need to select both architectures.

3) Player settings > other settings > rendering path > Legacy Vertex

4) Player settings > other settings > Optimization > Stripping level > Use micro mscorlib

The Lightweight mscorlib version will be used at expense of limited compatibility.

Most games don't use all the functionality of the provided DLLs. With this option, you can strip out unused parts to reduce the size of the built player on Android devices.

After applying all these changes it becomes 10.4 MB.

For reducing IPA size:

In Xcode, there are few flags you need to set,

-Build Settings-> Enable Objective-C Exception-Yes

-Build Settings-> Enable BitCode-No

-Build Settings-> Compress PNG files -No



Send SMS From Your Game - Unity3D

Send SMS From Your Game - Unity3D

In the game, you can use "prefer the game" feature or invite the friend(s) who...
Send Email From Your Game - Unity3D

Send Email From Your Game - Unity3D

In your game, it might be possible that user directly wants to send an email to...
Reduce a size of APK and IPA – Unity 3d

Reduce a size of APK and IPA – Unity 3d

For reducing APK size:In Unity 5.6.0f3 I have created a simple "Hello world"...
Unity3D vs. Cocos2DX

Unity3D vs. Cocos2DX

License: Unity 3D is paid while Cocos2DX is an open-source game...
You will be amazed to know that these 5 games are developed with Unity 3D

You will be amazed to know that these 5 games are developed with Unity 3D

1. Pokémon GODeveloped & published by Niantic; when both Niantic &...
Integrate Banner Ad for iOS & Android using AdMob

Integrate Banner Ad for iOS & Android using AdMob

Requirements- Unity 4 or higher- To deploy on iOS     ...
Integrate Interstitial Ad for iOS & Android using AdMob

Integrate Interstitial Ad for iOS & Android using AdMob

Requirements- Unity 4 or higher- To deploy on iOS       -...
Submit a Game to AppStore - For beginners

Submit a Game to AppStore - For beginners

Steps to submit a Game to AppStore1. Switch platform as iOS and then make a...
Use Debug.Break() to pause the editor

Use Debug.Break() to pause the editor

Use Debug.Break() in your code to pause the editorDid you know that you can...