How to reproduce:
1. Extract the attached project "BuildResultPendingRepro"
2. Run the Editor executable from a terminal:
/Applications/Unity/Hub/Editor/6000.7.0a5/Unity.app/Contents/MacOS/Unity -batchmode -quit -projectPath <path to extracted project> -executeMethod BuildResultRepro.RunAll -logFile out.txt
3. Open out.txt and observe the two [REPRO] lines
Expected results: summary.result is "Failed" for the untitled-scene build, as it is for the invalid-scene-path build that runs immediately before it
Actual results: summary.result is "Pending" even though BuildPlayer has returned, the build produced nothing and summary.totalErrors is 1
Reproducible with: 6000.6.0f1, 6000.7.0a5
Reproducible on: macOS Tahoe 26.6 (M1 Max)
Not reproducible on: No other environment tested