Web setting configurations
Choose a configuration when you create a build profile to apply default settings to the new profile. These presets optimize your build for development or release on mobile or desktop devices.
Read time 2 minutesLast updated 21 days ago
Choose a configuration when you create a build profile 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.
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 |
|---|---|
| IL2CPP 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 compression format | ASTC | DXT |
Release and development defaults
The release and development configurations differ as follows:
Platform Settings
Property | Development | Release |
|---|---|---|
| Development Build | 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 |