Reproduction steps (Linux):
1. Open a console in an empty folder, where the test project and "out.log" will be created
2. Replace "[CHANNEL_VERSION]" and "[EDITOR_LOCATION]" in the commands below, as shown by the examples in the "Internal Notes" section
3. Run "touch /tmp/Unity-LicenseClient-$USER.sock /tmp/Unity-LicenseClient-$USER-[CHANNEL_VERSION].sock && chmod 000 /tmp/Unity-LicenseClient-$USER.sock /tmp/Unity-LicenseClient-$USER-[CHANNEL_VERSION].sock"
4. Run "[EDITOR_LOCATION] -createProject TestProject -batchmode -nographics -quit -logFile out.log; echo Exit code: $?"
5. Observe the exit code printed in the console after several seconds and open "out.log" and search it (Ctrl + F) for "Licensing initialization failed"
Actual result: The console prints "Exit code: 0", and the search finds "Licensing initialization failed after 0.00s"
Expected result: The console prints a non-zero exit code
Reproducible with: 6000.0.83f1, 6000.2.0a7, 6000.3.23f1, 6000.5.11f1, 6000.6.0f1, 6000.7.0a6
Not reproducible with: 6000.2.0a6
Reproducible environment: Ubuntu 24.04.4 LTS
Not reproducible environment: No other environments tested
Notes:
- No Licensing Client is launched and no entitlements are resolved, so the run completes without a license
- On 6000.2.0a6 the same steps log "IPC channel to LicensingClient doesn't exist; aborting" and exit with code 199
- The same command exits with code 198 and logs "No valid Unity Editor license" when it is run with a temporary HOME, so that a Licensing Client is reachable but no license is available
- The same condition in a GUI launch opens the project with no error dialog, also without a license