L
L
lAtrey2014-08-03 15:38:48
Programming
lAtrey, 2014-08-03 15:38:48

Why does Unity3D create such a large exe file?

In general, I made a sketch: I threw trees and grass on the terrain and compiled it. Exe-shnik turned out to be 14 MB in weight. What have I done wrong?
Upd: if you need additional. information for clarification, tell me what, otherwise I don’t know what else to give you to be able to answer.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Deerenaros, 2014-08-03
@lAtrey

Ahh, what kind of people? No, okay hello world would be 200 meters (and it could be), but to complain about 14 megabytes. After all, for these trees, you can throw scripts for a couple of games, but there will be the same 14 megabytes. Well, or a little more.
I explain. Powered by Unity on Mono . It requires a runtime, then a virtual machine to run special code , and a set of libraries . Actually, I'm even a little surprised why so little. Apparently, unnecessary components are cut out and a couple of scripts still double the size. And any additional components will also greatly increase it.
No, this question would be very helpful if you were using Ogreinstead of Unity, C++ instead of C#, OpenGL instead of a wild mix of it and DirectX. But you use a lot of features of fat Unity and after that complain that the size is very large.
However, RTFM . Perhaps it will help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question