Build Profiles window reference
Reference documentation for the Build Profiles window.
読み終わるまでの所要時間 8 分最終更新 4日前
Configure build settings for the target platforms and override specific project settings for a build profile.
The following sections describe the settings available in the Build Profiles window.
Asset Import Overrides
To speed up the time it takes to import assets and change platforms, you can locally override all texture import settings. During development, asset overrides can be useful to speed up iteration time by using lower quality assets.
Property | Description |
|---|---|
Max Texture Size | Override the maximum imported texture size. Unity imports textures in the lower of two values: this value, or the Max Size value specified in Texture import settings. The time it takes to import a texture is proportional to the number of pixels it contains, so a texture size with a lower maximum can speed up import times. It's recommended to use this setting only during development as the resulting textures are lower in resolution. |
Texture Compression | Override the texture compression options set in Texture import settings. Note: The following texture compression options only apply to textures referenced in GPU texture formats reference.
|
Platform Settings
Each platform has specific build settings. For more information, refer to the following platform-specific documentation:
Platform | Documentation |
|---|---|
| Android | Android build settings reference |
| iOS and tvOS | iOS build settings reference |
| Embedded Linux | Embedded Linux build settings reference |
| Linux | Linux build settings reference |
| macOS | macOS build settings reference |
| QNX | QNX build settings reference |
| Universal Windows Platform | UWP build settings reference |
| Web and Facebook Instant Games | Web build settings |
| Windows | Windows build settings reference |
Shared build settings
The following build settings are available for all profile types. The values of these settings are shared across platform profiles but not across build profiles.
Property | Description |
|---|---|
Development Build | Builds the Player in development mode, which by default includes the Profiler and assertions in your managed assemblies. To add additional diagnostic code paths and data to the build, such as safety checks and debug symbols, configure the appropriate managed code variant for your build. Use this setting when you want to test your application. Selecting a development build defines the For more information, refer to Adding diagnostics to C# code. |
Autoconnect Profiler | Automatically connect the Unity Profiler to your build. For more information, refer to Profiler. Note: This option is available only if you select Development Build. |
Deep Profiling | Allow the Profiler to process all your script code and record every function call, returning detailed profiling data. For more information, refer to Deep Profiling. This property is available only if you enable Development Build. Note: Enabling Deep Profiling might slow down script execution. |
Script Debugging | Includes debug symbols in managed assemblies, generates unoptimized code, and defines the This property is available only if you enable Development Build. |
Wait for Managed Debugger | Make the Player wait for a debugger to be attached before it executes any script code. This property is visible only if you enable Script Debugging. |
Compression Method | Specifies the method Unity uses to compress the data in your Project when it builds the Player. This includes Assets, Scenes, Player settings, and GI data.
|
Diagnostics
Property | Description |
|---|---|
| Diagnostic Data | Configure settings to collect diagnostic data for each build profile in your project. Use these settings to override the default setting specified in Project Settings > Services > Diagnostics > Diagnostic Data per build profile. For more information on diagnostic data, refer to Developer Data framework. The following options are available:
|
Add Settings
Use the Add Settings button to add optional settings to a build profile. You should only add the settings you want to customize. The settings you add appear in a section with a foldout, where you can customize them for the build profile.
The following settings are available for customization through Add Settings. Additional settings might be available based on the packages installed in your project.
Setting | Description |
|---|---|
| Scene List | Create a custom scene list for your build profile. When you add Scene List, scenes are automatically inherited from the global scene list. For more information on managing scenes, refer to Manage scenes in a build. Note: For platform profiles, Scene List is visible by default. |
| Scripting Defines | Add custom scripting defines for your build profile. These custom scripting defines are additive and don't override other scripting defines in your project. For more information, refer to Custom scripting symbols. |
| Player Settings | Create custom Player settings for your build profile. The Player settings inherit their initial values from the global Player settings for the build profile's target platform. To access the global Player settings, use the link in the Build Profiles toolbar or navigate to Edit > Project Settings > Player. Note: For an active build profile, the Player Settings overrides are linked to the Player settings APIs. If you use the Player Settings APIs to modify a Player setting for an active build profile, the change will update the corresponding override value. |
| Graphics Settings | Create custom Graphics settings for your build profile. The Graphics settings inherit their initial values from the global settings in Edit > Project Settings > Graphics. |
| Quality Settings | Create custom Quality levels for your build profile. The Quality settings inherit their initial values from the global settings in Edit > Project Settings > Quality. For more information, refer to Customize settings with build profiles. |
| Adaptive Performance Settings | Create custom Adaptive Performance settings for your build profile. These settings inherit their initial values from the global settings in Edit > Project Settings > Adaptive Performance. |
Build options
To build your application, select one of the following options:
Property | Description |
|---|---|
| Cloud Build | Use Unity Build Automation to build your project in the cloud. When selecting Cloud Build for the first time, a dialog appears prompting you to install the Build Automation package. Connect your Unity project to your Unity Build Automation project using Edit > Project Settings > Services. Once connected, use the Build Automation Settings section in your build profile to configure your cloud build. For more information, refer to Build Automation Overview. Note: Cloud Build is visible only when using a build profile. |
| Build | Build the Player without launching it. The default build is incremental, except for the first build, which is always a full non-incremental clean build. This option runs a build without the StrictMode option enabled. |
| Clean build | Create a clean, non-incremental build. |
| Force skip data build | Skip the content step of the build process. This requires that you have already performed a successful build and that it is compatible with the current scripts in your project. For more information, refer to Create a scripts-only build. |
| Build and Run | Build the Player and open it on your target platform. This option runs a build with the StrictMode option enabled. Unity will do an incremental build when possible, otherwise it will perform a clean build. |