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.
Note: The Facebook Instant Games platform has the same configurations as the Web platform, with any exceptions noted on this page.
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.
The Web platform has the following configurations:
All configurations have the following default settings.
| Property | Default |
|---|---|
| IL2CPP Code Generation | Optimize for code size and build time |
| Target WebAssembly 2023 | Enabled |
| Use WebAssembly.Table | Enabled |
| Enable BigInt | Enabled |
The mobile and desktop configurations differ as follows:
| Property | Mobile | Desktop |
|---|---|---|
| Texture compression format | ASTC | DXT |
Note: These overrides apply only to Facebook Instant Games build profiles.
| Property | Mobile | Desktop |
|---|---|---|
| WebGL template | Default (Portrait) | Landscape |
The release and development configurations differ as follows:
| Property | Development | Release |
|---|---|---|
| Development Build | Enabled | Disabled |
| Code Optimization | N/A | Disk Size with LTO |
| Property | Development | Release |
|---|---|---|
| C++ Compiler Configuration | Debug | Master |
| Compression Format | Disabled | Brotli |
| Data Caching | Disabled | Enabled |