Search Issue Tracker
By Design
Votes
6
Found in
2018.4
2019.2.19f1
2020.2
Issue ID
1223602
Regression
No
IPostprocessBuildWithReport.OnPostprocessBuild function is not called when the Build fails
How to reproduce:
1. Open the attached project
2. In the Project Window, open the "NewBehaviourScript" located in the Assets folder
3. In the Script, uncomment the 6th line of code
4. Build the project
Expected result: OnPostprocessBuild function is called when the Build fails
Actual result: OnPostprocessBuild function is not called when the Build fails
Reproducible with: 2018.4.19f1, 2019.3.4f1, 2020.1.0b1, 2020.2.0a2
Couldn't test with: 2017.4.37f1 (IPostprocessBuildWithReport does not exist)
-
roberto_sc
Sep 24, 2021 11:20
If this is by default, then what is BuildReport.summary.result.Failed used for?
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Compute Shader with RWBuffer<> type throws an error when it is compiled with Vulkan API
- [Device Simulator] When simulator window is narrow, toolbar controls deform and some become inacessible
- [Device Simulator] Only one Touch Input is recognized when using Device Simulator
- "PropertiesGUI() is being called recursively" warning produced when trying to open color picker when object picker is opened
- [Device Simulator] Getting different transform position on Device Simulator compared to a device when using EnhancedTouchSupport
Resolution Note:
The build has failed and we stop all processing as quickly as possible to return control of the editor back to the user. This includes further processing of build callbacks that have yet to be called for this build.