Advanced build configuration

The Advanced settings tab displays the build target’s Advanced settings.

You set advanced options per build target. For example, if you select the Advanced settings link for an iOS target, those options are only for that iOS target. Or, when you select Advanced settings for an Android target, those options are only for that Android target. You can use different pre methods and post methods per platform, and per build target.

The following describes the Advanced settings:

PropertyDescription
Build outputA build output includes debug symbols and enables the Profiler.
CachingSelect caching strategy to improve build speed. Refer to Select Caching Strategy.
OS dependency settingsSpecify settings related to the internal dependency of the OS used to build.
Platform specific settingsSet advanced options specific to the platform selected.
Script hooks -Pre-Build ScriptSet the script that Build Automation runs before the Unity build process starts. You can use this script for custom pre/post processing. Refer to Run custom scripts during the build process.
Script hooks -Post-Build ScriptBuild Automation runs this script after the Unity build process completes. You can use this script for custom pre and post processing. Refer to Run custom scripts during the build process.
Script hooks-Pre-Export MethodManipulate project files before the project builds. For example, you can copy variables from an external file into the project, process Assets, or work with plug-ins that require special treatment. Refer to Pre-export method name.
Script hooks- post-Export methodAdd the public method you want to call after finishing the Unity build process (but before Xcode). Refer to Post-export method name.
Environment variablesUse environment variables if you want to give different configurations to your code for different builds.
TestsUse tests to configure conditions to run tests and actions on failures.
ScenesUse scenes to configure a build target to build a set of Scenes that’s different from what is set up in the project’s Build Settings menu in the Unity Editor. Refer to Specify the Scene to build.
AddressablesUse this to build the configured Addressables for the build target’s platform as part of the build process. For more information, Refer to Build Addressables with Build Automation.
Asset bundlesUse this to build all configured Asset Bundles for this build target’s platform as part of the build process. For more information, refer to AssetBundles.