|
I dont get it, I've created an empty scene. Added an empty object for axis and a cube. No textures. Then 3 point lights (RGB) and a ultra small script to rotate the cube. When building this scene, the output is 394 KB ?!?!!?!?!?!? WTF!? I might understand 30-50 KB, but nearly 400 KB for a minimum footprint? why?
(comments are locked)
|
|
A webplayer build that has a scene with a cube and 3 point lights is 50K. Look in the log to see what stuff you're including. For example, all scripts and everything in Resources (if it exists) is included regardless of whether they're used or not. aha! so thats why! I did make a complete blank new attempt. And yes, got it down to around 47 KB or so. I am trying to build a small loader screen where I can put a simple fullscreen image for my own splash. Its not pro, so I do know that I cant remove Unity logo and I have no intention either. Just want something pretty to look at while downloading 2-10 MB.
Jun 09 '11 at 08:13 PM
BerggreenDK
(comments are locked)
|
|
What kind of build do you have created? When you create a web-build you can see the detailed memory usage in the editor log. Just click the small button at the top right of the console window ("open editor log"). If you search for " "normal" standalone builds work different. They aren't that strong compressed. I just created a webbuild of my test project with some scripts and some prefabs but no textures or mesh data. It creates a unity3d file of 45KB. The standalone build is much larger of course ;) since it have to include the whole engine ... something about 9.5MB + the exe (about 6.5MB) I just had a look at your other questions. If you build for iOS i can't share my experience with that since i don't develop for iOS ;)
Jun 08 '11 at 01:15 AM
Bunny83
I currently just use Webplayer/webbuild and I have quite a few things in the asserts as I selected some of the default skybox etc. but I didnt use them in the scene, so thats why I am confused about the initial size.
Jun 08 '11 at 09:09 PM
BerggreenDK
(comments are locked)
|
