Skip to content

Sources

James edited this page Sep 28, 2025 · 11 revisions

Sources are a way for you to choose what you want the Build Uploader to upload.

When a BuildTask executes, it will gather all the content from the Sources and copy them to a temporary location. (ie: Unity's persistent data path)

Sources

Specify what data you want to include in your upload. All Sources are executed at the same time then copied to the cached folder 1 by 1.

  • Duplicate Files: When copying files over and there already being the same file, what should we do with the new file?
  • Error
  • Skip
  • Overwrite
  • Enabled: When on, this source will gather the content from a source and get it ready to be uploaded
  • Sub Folder: A sub-path in the cached directory of which this source will be saved to before being modified and uploaded. Leave empty to save to the root folder.

BuildConfigSource

Chooses a BuildConfig to start a new build when uploading

  • BuildConfig: Which config to use when creating a build
  • Clean Build: If enabled, the build folder will be deleted before building. This ensures a fresh build but may increase build time.
  • Override Target Platform: If enabled, the target platform and architecture specified below will be used instead of the one in the BuildConfig
  • Target Architecture: The target architecture to build for. Only used if 'Override Switch Target Platform' is enabled and the target platform supports multiple architectures.
    • x64
    • ARM64
    • x64ARM64
    • x86
  • Target Platform: The target platform to switch to before building. Only used if 'Override Switch Target Platform' is enabled.

FileSource

Choose a File to upload

  • Path: The path to the file or folder to upload.
  • Path Type: Specify which directory to select the content from.
    • Absolute: Specify the full path of a file or folder.
    • PathToAssets: Specify the path starting from the projects Assets folder.

FolderSource

Choose a Folder to upload

  • Path: The path to the file or folder to upload.
  • Path Type: Specify which directory to select the content from.
    • Absolute: Specify the full path of a file or folder.
    • PathToAssets: Specify the path starting from the projects Assets folder.

LastBuildSource

Chooses the directory of the last build made using the Build Uploader

URLSource

Specify a url to download content from.

UnityCloudSource

Downloads a zipped build from Unity Cloud

  • Build: Which Build to download.
  • Target: Which Build Target to select a build from off Unity Cloud. eg: Windows/Mac

Clone this wiki locally