- Home /
Game takes 3-4 hours to build.
When I build my game, it takes 3, sometimes 4 hours to build. This is annoying because after that I have to wait about an hour for it to upload to Dropbox. (it's 400mb and I have slow internet.)
So if there is one little change that I want to make, or one little multiplayer feature that needs to be fixes, this is impossible. It used to take about 10-20 minutes and that was perfectly fine.
Yes, I know about having public script references, I changed all of "var myScript : MyScript;" to "private var myScript : MyScript;".
I have a question. I have a lot of "static variable myScript : MyScript", does this slow down the build? If so, how can I fix it? It is mandatory that I have these static variables.
Bump. Could someone please help me with this? It has been five days.
Answer by Stefan02 · Jun 20, 2016 at 03:26 PM
After building game open console tab and chose OpenEditor Log
And then try to find what is taking so much MB and try to optimize it
Upvote for showing me a feature I didn't know existed.
I just tried this, the biggest thing is a simple shader that is taking 7.1%, second biggest is the terrain at 5.0%.
Also, why is this marked as best answer? I did not do that.
Answer by Unity_Package · Oct 12, 2017 at 11:46 AM
Same Problem is with, my game is taking much time to build
Your answer
![](https://koobas.hobune.stream/wayback/20220612082816im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Build in Gradle 0 Answers
Unity WebPlayer Build Size Excessive 0 Answers
Can't build my game! 1 Answer