How to reproduce:
- Create and open a new Unity project
- Build And Run the project
- Cancel the Build
Expected results: "Build completed with a result of 'Cancelled'" thrown in the Console window
Actual results: "Error building Player because scripts had compiler errors" thrown in the Console window
Reproducible with: 2022.2.0a12, 2022.2.8f1, 2023.1.0b6, 2023.2.0a4
Not reproducible with: 2020.3.45f1, 2021.3.19f1, 2022.2.0a11
Reproducible on: Windows 10