How to reduce Model size in Unity

OVERVIEW

This is great one. Writing this blog for people to know how they can reduce their FBX file size in the final APK built or IPA built.

So all of us are pretty much aware that developing 3d game could cost your app great amount of assets and finally a huge app size. Big app size means people will not download your game till they have Wifi connection! Which is a big problem in the app industry.

STORY

Getting down to the tip which I used to squeeze my characters in Dragon Kombat game. So our Dragon Kombat game is a 1v1 player arcade game. Which has great models designed in Fuse and Character Creator. All these models are so cool that we just didn’t want to reduce their polygon count. But at the same time have many devices run them at good fps. So firstly I am talking about RAM consumption, when we tested our models on devices they were all near around 20 mb each. And when played the game they occupied good amount of RAM. Our game ultimately started lagging. But then we also saw that our main APK size was huge too. Near around 250-300 MB. So ultimately we checked the Editor Log and found out the culprits. Sure textures were issue but not as much as the Models we used. Then we tried to use Mesh Compression which unity offered in their settings. We found out that size of the models didnt reduce. Only thing reduced was the quality of models in game. Shame!

SOLUTION

Then we played with all the setting in the Model settings. And to our surprise we found only 1 setting which affected the Size of Model. BLEND SHAPES!!

As soon as we turned off importing of Blend Shapes we got astonishing 80% reduce in Models size. I mean this was great. Our game went from being 250MB to under 100 MB!
Then we reduced textures a bit more and came down to 85 MB! Very cool!

But then yeah Blend Shapes are great! One of our character is Dr. SYkoo! Which has this mouth opening animation when he was idle and fighting. So we only decided to keep that model have Blend shapes. So finally we ended up having 10 Fighters of high quality and 1 model among them had Blend Shapes. And Game size went up to 92MB.

CONCLUSION

So in short if you don’t read the whole story! Dont import Blend Shapes if your character doesn’t speak or use expressions at all. Cheers! I will keep updated for more tips as I find more time.

Unity is great because it gives such options! Maybe a little less documented about these things.

Dragon Kombat

Google Play: https://play.google.com/store/apps/details?id=com.BlueCreazione.DragonKombat

IOS: https://itunes.apple.com/us/app/dragon-kombat/id1450303983

6 Comments

  • Thank u so much it was very helpful

    Saeed Piryaei
    Posted April 27, 2020
  • Hi, I tried turning off the “Blend shapes normal” option to none, but it doesn’t reduce the size of the FBX. can you guide me with this ?

    shramik dalvi
    Posted July 1, 2020
  • Thank’s so much. I was working on this problem for 12-15 hours, and it’s FIXED! 250MB is now 39MB.

    Ezel
    Posted June 16, 2021
  • Thanks in support of sharing such a fastidious idea, post
    is good, thats why i have read it completely

    Dewayne
    Posted December 13, 2021
  • Great post. I was checking constantly this blog and I am inspired!
    Extremely useful info specially the closing
    section 🙂 I take care of such information much. I was looking
    for this particular information for a very
    lengthy time. Thanks and good luck.

    Keith
    Posted March 23, 2022
  • Hello there, I discovered your website by means of Google
    even as searching for a comparable matter, your web site came up, it
    appears great. I have bookmarked it in my google bookmarks.

    Hi there, simply was alert to your weblog through Google, and found
    that it’s truly informative. I am gonna watch out for brussels.
    I’ll appreciate if you happen to proceed this in future.
    A lot of folks might be benefited out of your writing.
    Cheers!

    Porfirio
    Posted March 24, 2022

Comments are closed.

Instagram

Facebook

Linked In

Copyright © 2022 by Blue Creazione. All rights reserved.