Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by arodes · Apr 15, 2016 at 04:40 AM · licenseactivationbatchmodeerrormessage

Batchmode license activation error

Hey guys, I'm trying to activate Unity in batchmode on my jenkins windows slave, but always getting the following error:

 Unity.exe -quit -batchmode -serial *** -username **** -password **** -logFile "D:\unity.log" -projectPath "D:/someProject"
 BatchMode: Unity has not been activated with a valid License. Could be a new activation or renewal...
 (Filename: C:/buildslave/unity/build/Editor/Platform/Windows/WinEditorMain.cpp Line: 836)
 DisplayProgressbar: Unity license
 [0415/003234:ERROR:gpu_info_collector_win.cc(103)] Can't retrieve a valid WinSAT assessment.^
 Timeout while processing request "https://core.cloud.unity3d.com/api/login"
 Canceling DisplayDialog: Updating license failed Failed to update license within 60 seconds. Exiting.

The timeout occurs just after a few seconds, and not 60s as mentioned. But when I start unity normal, and activate the license manually everything works fine.

Any suggestions?

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Alloc · Apr 30, 2016 at 09:33 AM 0
Share

Same issue here. Good to have command line activation but if it doesn't work it's not really helping. Also added -nographics here and that didn't help either.

avatar image MTL_IT_LICENSING · Feb 23, 2017 at 10:05 AM 0
Share

Hey,

Anybody still getting these issues from time to time? Even running unity.exe not in batchmode before activating doesn't always do the trick.

1 Reply

· Add your reply
  • Sort: 
avatar image
-1

Answer by arodes · Apr 15, 2016 at 11:38 AM

Found a workarround to make the activation possible. Just starting Unity without batchmode, before activating it. It works but isn't a very good solution.

And just found out license returning also doesn't work properly. The license is returned and the license file deleted but still getting this error:

 LICENSE SYSTEM [2016415 10:6:44] Headers:
     HTTP/1.1 200 OK
     Server: nginx/1.2.1
     Date: Fri, 15 Apr 2016 10:06:44 GMT
     Content-Type: text/xml; charset=ISO-8859-1
     Content-Length: 2183
     Connection: keep-alive
     Accept-Ranges: bytes
     X-Varnish: 2771185406
     Age: 0
     Via: 1.1 varnish
     Set-Cookie: SERVERID=varnish02; path=/

 Canceling DisplayDialog: Failed to return license License server request timed out.
Comment
Add comment · Show 10 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Alloc · Apr 30, 2016 at 09:34 AM 0
Share

When saying "without batchmode" are you talking about running from Jenkins but just without the parameter or as a normally logged in Windows user on RDP or something like that?

avatar image arodes Alloc · Apr 30, 2016 at 09:46 AM 0
Share

Hey Alloc, I install unity with a install script on my jenkins slave. When the instalation is finished the script starts unity without any paramters. So unity gets started once and will stay open. After that the license activation works as expected. Although the return of the license shows an timeout but is still working.

avatar image Alloc arodes · May 08, 2016 at 06:21 PM 0
Share

Activation through batchmode or are you simply activating it in the already running instance that you started without parameters?

Also, did you file a bug report? If not I'll do so. This feature is useless if it can't be used ;)

Show more comments
Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Manual Activation of a License on a Secure Network 0 Answers

Unity 4.7 License Error 1 Answer

Unity Test Runner batchmode error. Failed to activate/update license. Timeout occured while trying to update license. 0 Answers

4.x Licensing & Activation FAQ 1 Answer

Manual/Offline Activation of Unity 3.x 12 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges