- Home /
Unity 5.5.2 Baking Lightmaps increases the Android APK Size drastically.
Hi,
I’m having a real hard time understanding lightmaps . I have simple scene with point and spotlights set to Baked. I bake the lights manually and it look just fine. But the problem arises when creating an android apk it simply doubles the build size. I have one scene with lighting and set up is quite simple. Without lightmaps build size 40mb and with lightmaps it increases to 98mb. I’ve compressed the textures to “RGB Compressed ASTC 10x10” and in editor it shows the size of each texture in KBs. But when I build it, size is huge. I’m using mobile unlite(Supports Lightmap) shader for environment assets. Please help me out with this problem. I’m currently using unity 5.5.2.
I think even after compression unity get the raw textures of lightmap. If so, can anybody please suggest me some best way to work with lightmaps so build size doesn’t get affect like this.