Optimize your Web build
Recommended Graphics settings to optimize your Web build

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 preconfigured settings to the new profile. These presets optimize your build for development or release on mobile or desktop devices.

For descriptions of all available Web settings, refer to Web build settings and Web Player settings. For the build profile settings shared across platforms, refer to Build Profiles window reference.

Note: The Facebook Instant Games platform has the same configurations as the Web platform, with any exceptions noted on this page.

Configurations

Configurations are groups of default settings that tailor builds for specific delivery environments. Use configurations to create multiple optimized build profiles and simplify the process of switching between different environments.

Select a configuration in the Platform Browser when you create a build profile. If you don’t choose a configuration, the build profile inherits the values from the global settings.

Configuration defaults

The Web platform has the following configurations:

  • Mobile - Development
  • Mobile - Release
  • Desktop - Development
  • Desktop - Release

Shared defaults for configurations

All configurations have the following default settings.

Player Settings Overrides

Property Default
IL2CPPA Unity-developed scripting back-end which you can use as an alternative to Mono when building projects for some platforms. More info
See in Glossary
Code Generation
Optimize for code size and build time
Target WebAssembly 2023 Enabled
Use WebAssembly.Table Enabled
Enable BigInt Enabled

Mobile and desktop defaults

The mobile and desktop configurations differ as follows:

Platform Settings

Property Mobile Desktop
Texture compressionA method of storing data that reduces the amount of storage space it requires. See Texture Compression, Animation Compression, Audio Compression, Build Compression.
See in Glossary
format
ASTC DXT

Player Settings Overrides

Note: These overrides apply only to Facebook Instant Games build profiles.

Property Mobile Desktop
WebGLA JavaScript API that renders 2D and 3D graphics in a web browser. The Unity Web 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
template
Default (Portrait) Landscape

Release and development defaults

The release and development configurations differ as follows:

Platform Settings

Property Development Release
Development BuildA development build includes debug symbols and enables the Profiler. More info
See in Glossary
Enabled Disabled
Code Optimization N/A Disk Size with LTO

Player Settings Overrides

Property Development Release
C++ Compiler Configuration Debug Master
Compression Format Disabled Brotli
Data Caching Disabled Enabled

Additional resources


Did you find this page useful? Please give it a rating:

Optimize your Web build
Recommended Graphics settings to optimize your Web build