Build Presets
Build Preset allows you to easily save pre-configured builds for later, this saves you from having to re-set up settings each time you would usually switch platforms within the engine. This can be used for perticular configurations of builds within the same platform (ex: Steam/Epic/Non-DRM/etc)
Editing Build Presets
You can edit build presets from within the Project configuration file, you can also "on-the-fly" edit some preset settings above the "ADD TO QUEUE" button.
You can edit Build Preset by updating these values within the Project configuration file:
- Name: This is how your Build Preset should be displayed within UBuild. (this also is where to store builds within the build folder, containing folders for each Supported Platform)
- MethodToExecute: Exclusivly for Unity. This will execute this method before building.
- AdditionalBuildArgs: These are additional arguments to pass into the builder. (either the UnityEditor or Unreal Automation Tool) (this is an array of strings)
- BuildFolder: This is the folder in which builds using this preset will be placed.
- IncludeFilesFromFolder: This is a directory which UBuild will copy all files from to include in the final build.
- ExcludeFilesFromBuild: These are files that will be deleted from the final build.
- ExcludeFoldersFromBuild: These are files that will be deleted from the final build.
- DeleteBuildExceptZip: This will determine whether UBuild will clear the final build folder of all files except the compressed file. (this only applies if CompressToZip is true)
- CompressToZip: This will determine whether UBuild will compress the final build to a zip archive.
- SendToEmail: This will determine whether UBuild will send email notifications for this build.
- ForcePullFreshProject: This will determine whether UBuild will force a fresh clone from Git before building. (requires Git configuration, see more here)
Remember that any changes made to the build preset within the UI are temporary and will not affect the saved build preset within the project but will affect any builds added to the queue.