Search Issue Tracker
Fixed in 2018.3.X
Fixed in 2018.1.X, 2018.2.X
Votes
0
Found in
2018.1.0b6
2018.1.0b10
Issue ID
1041582
Regression
Yes
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
Comments (3)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
nick_nearlight
Oct 23, 2019 16:25
This appears to be re-occuring in 2019.2.5f1
jasonatkaruna
Mar 01, 2019 17:56
I reproduced this in 2018.3.6f1
StephenHodgson-Valorem
Jan 11, 2019 21:03
I am able to reproduce this in 2018.3.0f1