Customise Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

No cookies to display.

[ad_1]

Disclaimer: I am at the moment simply exploring strategies and making an attempt to save lots of literal kilobytes simply to see if I can. Please do not give me speeches about how improvement time just isn’t value it.

So I acquired a bit disillusioned that my small recreation with actually 3MB value of belongings takes 70MB of disk house. It must be decrease, proper? If I strive a WebGL construct, it leaves me with 12MBs, so what takes a lot on a Home windows construct?

After that I created a check challenge simply to see what else I can do to do away with Unity’s default engine bloat as belongings are already as optimized as they are often.

Empty challenge. 0 belongings. No code, no textures, no sound, nothing to optimize on my finish. One empty scene.

The construct weighs 65MBs.

I went into Package deal Supervisor and disabled actually all the things. All further packages, all built-in packages. Then went into Challenge Settings and set highest potential engine code stripping high quality.

That left me with 48MB construct. Weirdly sufficient, Unity nonetheless left a variety of executables in Managed folder, e.g. the one for Physics, though it’s completely not used. I can take away them and the sport will nonetheless launch with out crashing… On that observe, I might most likely take away the crash handler and save one other megabyte… However first, I might prefer to see if I can go decrease from Unity itself as an alternative of decapitating construct as soon as it is executed.

Anyway, what are different methods to truly scale back the filesize? Most articles and questions speak about asset optimization, or give attention to WebGL and cellular, the place empty builds are literally inside smart values. Any settings I might use or possibly even belongings that assist with that? I might respect any suggestions.

At the moment worst offenders are:

UnityPlayer.dll (28MB)

mono-2.0-bdwgc.dll (7.5MB)

unity default sources (4.7MB) – do I even want these default sources?

[ad_2]

Leave a Reply

Your email address will not be published. Required fields are marked *