Version: Unity 6.7 Alpha (6000.7)
Language : English
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 profile 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 settings to create an optimized Web build.
Reduce Web startup time with progressive asset loading Use progressive asset loading to reduce the startup time for Web builds.
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 shader variants from your build.

Additional resources

Distribution size and code stripping
Web setting configurations