Search Issue Tracker
Fixed in 2018.3
Fixed in 2018.1, 2018.2
License activation fails when running Unity with command line arguments
How to reproduce:
1. Delete C:\Users\[USERNAME]\AppData\LocalLow\Unity\Browser folder
2. Delete C:\ProgramData\Unity\unity_lic.ulf file
3. In Command Prompt: cd C:\Program Files\2018.1\2018.1.0b6_2c4679632cfb\Editor
4. In Command Prompt: start /b /wait Unity.exe -quit -batchmode -serial "I3-XXXX-XXXX-XXXX-XXXX-XXXX" -username "YOUR@EMAIL.COM" -password "YOURPASSWORD" -logFile C:\Users\[USERNAME]\Desktop\log
Expected result: Unity activates license
Actual result: Unity fails to activate license
Reproduces with: 2018.1.2f1, 2018.2.0b6
Not reproducible with: 2018.1.0b5
Note: The /b /wait is just so to wait for Unity to run and then exit. Unity license directory: C:\ProgramData\Unity\unity_lic.ulf.
Log file: "Updating license failed Failed to update license within 60 seconds. Exiting. This should not be called in batch mode.
(Filename: C:\buildslave\unity\build\Editor/Platform/Windows/EditorUtility.cpp Line: 1151)"
Fixed in: 2018.3.0a1, 2018.2.0b9, 2018.1.5f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
- Cannot activate license within a docker container
- [CPU PLM] Radeon Pro denoiser does not work upon the first bake using CPU PLM
- [IL2CPP] Player crashes after calling HttpClient when Incremental GC is enabled
- [Android 4.1][IL2CPP] IL2CPP app built with "Strip Engine Code" enabled crashes/freeze on Android 4.1 OS devices
- [2018.4] Console throws a Warning about corrupted ProjectVersion.txt file which is in another Project