Distribution size and code stripping
Web setting configurations

Optimize your Web build

It’s important to optimize your Web build because Web-based applications perform best when you have a small build. A small build means there’s less data to download during initialization, which reduces load times. Slow load times can result in poor user experience and a high bounce rate.

To optimize your Web build for mobile, refer to Optimize Web platform for mobile.

Use these options and recommendations to make optimizations specific to Unity Web platform.

Topic Description
Web setting configurations Choose a configuration when you create a build profileA set of customizable configuration settings to use when creating a build for your target platform. More info
See in Glossary
to apply default settings to the new profile. These presets optimize your build for development or release on mobile or desktop devices.
Recommended Graphics settings to optimize your Web build Change the Graphics settings to create an optimized Web build.
Recommended Quality settings to optimize your Web build Change the Quality settings to create an optimized Web build.
Recommended Player settings to optimize your Web build Change the Player settingsSettings that let you set various player-specific options for the final game built by Unity. More info
See in Glossary
to create an optimized Web build.
Use C# code to enable optimization settings Use a C# script to enable some optimization settings.
Remove unused resources from your Web build Remove unused packages and shaderA program that runs on the GPU. More info
See in Glossary
variants from your build.

Additional resources


Did you find this page useful? Please give it a rating:

Distribution size and code stripping
Web setting configurations