JamesVeug / JamesVeug/UnityBuildUploader

[BUG] Upload task is lost when applying BuildConfig triggers script compilation/domain reload

Open
#107 1 comment 0 reactions 1 assignee View on GitHub

@JamesVeug is already working on this.

Since Sep 19, 2026.

bug
Dominant language
C#
Stars
190
Forks
14
Avg merge
1d 2h
Merged PRs (30d)
1

Description

Describe the bug
When a BuildConfig changes the current scripting define symbols, Build Uploader applies the configuration and Unity starts script compilation. The resulting domain reload destroys the active UploadTask before the build begins.
The task disappears from the Upload Tasks window and no failed report is created. Starting the same upload again works because the BuildConfig settings already match.

To Reproduce

  1. Create a BuildConfig whose scripting defines differ from the current Player Settings.
  2. Add it as a BuildConfig source in an Upload Profile.
  3. Start the upload.
  4. Unity applies the settings and recompiles scripts.
  5. After the domain reload, the build does not continue and the task is missing.
  6. Start the upload again; it now succeeds.

Expected behavior
The upload should continue after applying the BuildConfig, or at minimum persist a failed/interrupted task with an actionable explanation.

Environment:
• Unity 6000.3.24f1
• Build Uploader 3.3.0
• Windows 11

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.