- Home /
Building single scene is much too large!
I currently have a game that's built with many different scenes, each scene being a mini game. When I build the web player project as a whole I get a 54mb sized project, which is fine. The problem is recently when I build a single scene (for arcade style instead of full game), instead of it being 600-800kb the single scene is now 52mb making the loading time extremely long for such a small game.
Does anyone have any ideas?
I have tried to get rid of the other hidden Resources folders but that didn't work.
I am kinda new to this.
You can try decreasing the quality of the build (Palyer Settings -> Quality). Remember that a web built always has very low quality settings, because of that textures are downsampled and their file sizes get smaller, etc.
I have just tried this and had no luck. The compiled file size for a single scene is still the same size as all the scenes built together.
Are you storing your assets in the /Resources folder of your project? If so they'll be included in every build whether they're used or not.
yes it seems like that is the issue! Is there somewhere else I should be putting them?
Yes you may should put the non-relevant content to any other folder ( for temp) while deploying the single $$anonymous$$i game build.
The manual has a pretty decent page about reducing build size. If you take a look at the editor log, it includes a report about your build process that you can use to identify large assets. Texture and audio compression are very important. Reducing the number of "Resource" files is also important.