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.

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

Same Problem is with, my game is taking much time to build