Version: 2022.3
Language : English
Build your WebGL application
Recommended Graphics settings to optimize your WebGL build

Optimize your WebGL build

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

Use these recommended settings to make optimizations specific to Unity WebGL platform.

Topic Description
Recommended Graphics settings to optimize your WebGL build Change the Graphics settings to create an optimized WebGL build.
Recommended Quality settings to optimize your WebGL build Change the Quality settings to create an optimized WebGL build.
Recommended Player settings to optimize your WebGL 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 WebGL build.
Use C# code to enable optimization settings Use a C# script to enable some of the optimization settings.

Additional resources

  • WebGLA JavaScript API that renders 2D and 3D graphics in a web browser. The Unity WebGL build option allows Unity to publish content as JavaScript programs which use HTML5 technologies and the WebGL rendering API to run Unity content in a web browser. More info
    See in Glossary

  • WebGL browser compatibility

  • WebGL templates

Build your WebGL application
Recommended Graphics settings to optimize your WebGL build
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961