It’s important to optimize your WebGL 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.
Use these recommendations 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. |
Remove unused resources from your WebGL build | Remove unused packages and shaderA program that runs on the GPU. More info See in Glossary variants from your build. |