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 /
  • Help Room /
avatar image
0
Question by Velfyr · May 27, 2018 at 10:49 PM · editorlicensebatchmodefree-versioncontinuous-integration

Unable to activate Unity free in batchmode

Hello,

I've opened a forum post a few days ago about an Issue I'm having with Unity free license activation in batchmode. I'll copy the post content here and leave a link in case someone wants to contribute there. Also, whenever I get an answer I'll update this question: https://forum.unity.com/threads/activating-unity-free-in-batchmode.533021/


I have an issue when activating Unity free license through batch mode in Windows.

I'm using a CI system running Windows (AppVeyor) that installs Unity and tries to build my software on a fresh machine.

However, after Unity is installed any command line interaction gets stuck in the license check, even if I provide my credentials to the command with the -username and -password flags.

This is not an issue in other CI systems based on Mac Os (such as Travis) as the Mac version of the editor doesn't require the license in batch mode.

Any clues on how to solve this?

Thanks ahead!


Logs of the activation:

 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: 805)
 DisplayProgressbar: Unity license
 User ***** logged in successfully
 LICENSE SYSTEM [2018520 7:56:4] Starting license activation with account *****
 LICENSE SYSTEM [2018520 7:56:4] Opening https://license.unity3d.com/update/poll?cmd=9&tx_id=f75aedb9b9ab8444db4324d026a1f6d3
 LICENSE SYSTEM [2018520 7:56:4] Posting <?xml version="1.0" encoding="UTF-8"?><root><SystemInfo><IsoCode>en</IsoCode><UserName>appveyor</UserName><OperatingSystem>Windows 8.1 (6.3.0) 64bit</OperatingSystem><OperatingSystemNumeric>630</OperatingSystemNumeric><ProcessorType>Intel(R) Xeon(R) CPU E5-2697 v3 @ 2.60GHz</ProcessorType><ProcessorSpeed>2600</ProcessorSpeed><ProcessorCount>2</ProcessorCount><ProcessorCores>2</ProcessorCores><PhysicalMemoryMB>1535</PhysicalMemoryMB><ComputerName>APPVYR-WIN</ComputerName><ComputerModel>Virtual Machine (Microsoft Corporation)</ComputerModel><UnityVersion>2017.4.3f1</UnityVersion><SupportedLicenseVersion>6.x</SupportedLicenseVersion></SystemInfo><License id="Terms"><MachineID Value="Lm/o/LytXd2z54ij661pSVaJ1/o=" /><MachineBindings><Binding Key="1" Value="00254-20000-00000-AA643" /><Binding Key="4" Value="NDE4NC03ODU4LTI2NTAtNjMwNS00Nzc0LTY0NTgtNzQ=" /></MachineBindings><UnityVersion Value="2017.4.3f1" /></License></root>
 LICENSE SYSTEM [2018520 7:56:6] Received https://license.unity3d.com/update/poll?cmd=9&tx_id=f75aedb9b9ab8444db4324d026a1f6d3
 LICENSE SYSTEM [2018520 7:56:6] Headers:
 HTTP/1.1 200 OK
 Server: nginx/1.2.1
 Date: Sun, 20 May 2018 07:56:05 GMT
 Status: 200 OK
 X-Frame-Options: SAMEORIGIN
 X-XSS-Protection: 1; mode=block
 X-Content-Type-Options: nosniff
 ETag: W/"e35360cd0acd9add7589eabea2526588"
 Cache-Control: max-age=0, private, must-revalidate
 Set-Cookie: _activation_session=Rm9iTmJMdEh1TVhWVVFpRGppUno1TEQ5Z1RYVmgwa2lrUXVYQTRpaTRaYU83UUhKL05xYjhjbzVaMVNDOWFUbzdRUDZOTTRiRUx4ckdSajE2TFlNN0JOVTgvaWVtcmtnWlVoQWRpR3VkNG1kMElKL2hWOHYzVGx3Tk1UbzVIOFhzNmNaV2lUTGhiVUVBUXJxamQxRE9nPT0tLVdiamlHVkxwWHBDMTAybkJGYU9lQnc9PQ%3D%3D--aacff72d725e44235789cfe6318f0dc70f84f0c7; path=/; secure; HttpOnly
 Set-Cookie: SERVERID=varnish01; path=/
 X-Request-Id: 991d4c38-3226-47c3-b396-f0a876c76789
 X-Runtime: 0.467767
 Accept-Ranges: bytes
 X-Varnish: 1727163858
 Age: 0
 Via: 1.1 varnish
 sc-request-id: 1c0e628c-7cae-4447-bfb3-fca78a6b4988
 Vary: Accept-Encoding
 sc-token-expires-in: 3598
 Content-Type: application/xml; charset=utf-8
 Content-Length: 121
 
 Cancelling DisplayDialog: 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: 1137)


Comment
Add comment
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

0 Replies

· Add your reply
  • Sort: 

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

169 People are following this question.

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

Related Questions

Assertion failed on expression: 'klass != NULL' while building for Android 1 Answer

Starting project with Unity Free and upgrading to Unity Pro later on. 1 Answer

Commandline -batchmode errors due to license update 1 Answer

Unity Hub License Error (licenseCore.updateLicense promise rejection) 0 Answers

Unity batch mode exits with error code 1 0 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