Manual: Optimize your Web build (original) (raw)
- Platform development
- Web
- Build and distribute a Web application
- Optimize your Web build
Distribution size and code stripping
Recommended Graphics settings to 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 recommendations to make optimizations specific to Unity Web platform.
Topic | Description |
---|---|
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 infoSee 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 infoSee in Glossary variants from your build. |
Additional resources
Distribution size and code stripping
Recommended Graphics settings to optimize your Web build