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