Steps to reproduce:
- Open attached project (build_cancel_test.zip)
- Click "BUILD TEST/Clean Build - macOS" menu button (reproduces with other platforms too)
- Wait for the build to reach "Incremental Player Build" step
- Cancel build by clicking the "Cancel" button on the build progress bar window
- Check the console to see buildReport.summary.result
Actual results: Result returned as "Failed" together with a "TaskCanceledException: A task was canceled." exception.
Expected results: Result should return Cancelled.
Reproducible with versions: 2022.3.51f1, 6000.0.26f1, 6000.1.0b2, 6000.2.0a6
Not reproducible with versions:
Tested on (OS):
Notes:
- If build is cancelled during any other step (Shader compilation, script compilation, etc) - the results is correctly returns as Cancelled.
- Tested on several different platform builds - all behave the same.