-
-
Notifications
You must be signed in to change notification settings - Fork 8
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)
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.
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.
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.
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.
Chooses the directory of the last build made using the Build Uploader
Specify a url to download content from.
- File Name: The fileName to download the contents as. eg: MyPicture.png
-
Headers: The headers to send with the request.eg:
- accept = text/html
- accept-language = en-US,en;q=0.9
-
Method: The method to use when downloading the file.
- GET
- POST
- PUT
- DELETE
- URL: The URL to download from: eg: https://github.com/JamesVeug/UnitySteamBuildUploader/raw/refs/heads/main/LargeIcon.png
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