Version: Unity 6.3 Beta (6000.3)
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 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

Distribution size and code stripping
Web setting configurations
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961