How to reproduce:
- Rename "C:\ProgramData\Unity\config\services-config.json" to "services-config.json.bak"
- Create a new project
- Add Windows Build Profile (File > Build Profiles)
- In the Windows profile Inspector, enable Create Visual Studio Solution under Platform Settings
- Close the Unity Editor
- Close Unity Hub including the system tray icon
- Confirm Unity Hub is not running in Task Manager
- In a terminal at the project root, run:
- Remove-Item -Recurse -Force build -ErrorAction SilentlyContinue
- unity build --output-path=build --profile windows
- echo $LASTEXITCODE
- Observe that the CLI reports "Build succeeded (Windows)" and $LASTEXITCODE = 0
Actual result: CLI prints Build succeeded (Windows) and returns exit code 0, but no player is produced
Expected results: The exit code and CLI output accurately reflect the build result
Reproducible with: 6000.0.0f1, 6000.0.83f1, 6000.3.24f1, 6000.6.1f1, 6000.7.0a6
Reproducible on: Windows 11
Not reproducible on: No other environments tested