Build Profiles window reference
Reference documentation for the Build Profiles window.
읽는 시간 5분최근 업데이트: 9일 전
The following sections provide an overview of the Build Profiles window and its settings. Access the Build Profiles window in the Unity Editor from File > Build Profiles.
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.
|
Build options
To build your application, select one of the following options:
Property | Description |
|---|---|
| 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. |
Build Data
Setting | Description |
|---|---|
| Override Global Scene List | Select Override Global Scene List to create a custom scene list for your build profile. When selecting Override Global Scene List, scenes are automatically inherited from the global scene list. |
| 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. |
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 | 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 | Include scripting debug symbols and the Profiler in your build. Use this setting when you want to test your application. When you select this option, Unity sets the For more information, refer to Platform dependent compilation. |
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 | Attach script debuggers to the Player remotely. 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.
|
Player Settings Overrides
Property | Description |
|---|---|
| Customize player settings | Create custom Player settings for your build profile. For more information, refer to Override settings with build profiles. Note: A link to the global Player settings is available in the Build Profiles toolbar. |