- Home /
Question can't be answered correctly. There's NO answer for this. I give up.
How to reduce the build's final size?
Ok, so... i am almost finishing my first game, and it is AMAZING! But i am a little concerned about something. Something that actually makes me feel a little bad. My game development folder is around 3.7GB size, and the build game folder is around 700MB. It's nice, because it's still less than 1GB, but i want my game to be "light", and my build is not the actual version, becuase i updated a lot of things in my development folder, and i still need to build it. So, is there a way to compact the build's folder or something? Like a video. HD videos sometimes can be really heavy, and most editors make a compilation of the video, so the size is reduced without compremetting it's quality. Is there something like this, but for Unity??
OBS: Sry if i writed something wrong, english is not my mother language. (But i try)
please read the replies you've already received. YOU NEED TO LOO$$anonymous$$ AT THE EDITOR LOG to see how mich soace each of your assets is using.
I am getting confused. WHAT DO I NEED TO DO?
If i open Unity, and select the console, click on it and select "Open editor log" or something like this, because i don't remember the name, i get the "thing" it is shown in the image. I already built many times my game, both normal and development build.
If i open my build, i don't have any menu or something. It's just my build, and the only thing i can do is play my game. There's no option, there's NO menu, and there's no editor log.
The image on the link doesn't exist. And i am using Windows, so, the results are pretty inacurate, because the image in the link clearly is from a $$anonymous$$ac.
This just explain what takes more space, and how to reduce textures. I would compress the textures, but they didn't even use 10% of the full size, and ALL my assets are necessary.
Sounds like you've put in the work to remove any unnecessary assets. The only other thing I can think of is to dynamically load / stream your assets ins$$anonymous$$d of keeping them all on-board. However, without knowing what type of game you're making - that may or may not be possible.
What is taking up most of your space?
What makes you believe it's an HD video that's making your build so large? Have you looked at the editor log to see the resources used in your build?
I am not thinking a HD video is making my build large, it was an example, sorry if it seemed that i was talking that i had a HD video in my game. And i can't say this correctly, am i supposed to open the log in a development build, or in the editor? Because if i do this in the editor, it just opens a strange notepad with a lot of random numbers and words that i cannot explain correctly.
You said that textures represent <10% of your build size, so I'm guessing you already know how to open the editor log, and it's explained in the link @addyarb already gave you. We can't help you reduce the filesize when you still haven't told us what's accounting for it...
That information doesn't appear in my log. If it appeared, i wouldn't be extending this question so long.
It shows DLL's, memory usage, and LOTS of codes saying (This message is harmless)
It does, it's near the bottom. And it looks like this:
Textures 46.1 mb 52.1%
$$anonymous$$eshes 100.6 kb 0.1%
Animations 12.1 kb 0.0%
Sounds 26.1 mb 29.5%
Shaders 1.6 mb 1.9%
Other Assets 3.2 mb 3.6%
Levels 4.3 mb 4.9%
Scripts 1.6 mb 1.8%
Included DLLs 5.2 mb 5.9%
File headers 160.6 kb 0.2%
Complete size 88.4 mb 100.0%
Followed by a list of individual assets, sorted by uncompressed size, so you know which to concentrate on reducing. You did follow the instructions and look at the log after building the game, right?
I made a video showing everything.
https://youtu.be/D$$anonymous$$-jtiFCVaI
Pls note that my language is different and i had to make everything with my right hand, when i use left for writting and doing everything else. I tried to find in my "thing log" the "%" character and the words "Complete Size". If it was a normal log, as you guys said, it should have these words and this specific character on it, right? Wrong, because it doesn't have.
The editor log won't have any information about build size unless you make a build first... have you actually done that? The video you posted doesn't show you following Step 1 : Click File Build before opening the editor log, and nor does your console log show that you've just made a build. This is what you should see in the console before opening the editor log (certainly on Unity 5.3.3f1):
Oh no, not again. I refuse to build my game for the 20 time! It's already built normally AND in development mode, i already built it many times and i have it's build folder in my computer right now! It doesn't have the message because i always clear my messages because it's strange to test my game while a random message is in the bottom of the screen.
Follow this Question
Related Questions
Build size problem, I couldnt reduce it 1 Answer
Iphone Game Build Size 4 Answers
Distribute terrain in zones 3 Answers
Some need Help for reduce Android 3d Game Size Terrain 0 Answers
WebGL build size does not change after reducing textures size 0 Answers