Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
2
Question by chloh · Jul 18, 2014 at 09:02 PM · licensecommand-line

Can I enter my license key via command line?

I'm trying to install Unity on a remote Mac server via command line, and I have a Unity Pro license key that I'd like to activate.

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

3 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by Graham-Dunnett · Jul 18, 2014 at 09:02 PM

Activation needs to happen using the GUI. There is no command-line based activation possible.

Comment
Add comment · Show 3 · 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 diekeure · Mar 24, 2016 at 12:25 PM 0
Share

How is it done on servers that do not have a graphics card?

avatar image nephenmaat · Oct 25, 2016 at 08:17 AM 0
Share

i tried many times for syntax: unity -quit -batchmode -nographics -execute$$anonymous$$ethod Build.buildAndroid -username mymail@gmail.com -password mypass -serial XXXXX-YYYY-$$anonymous$$Y-SERIAL but all of them failed with below error message after 1$$anonymous$$ute: DisplayProgressbar: Unity license Cancelling DisplayDialog: Failed to activate/update license. Timeout occured while trying to update license. Please try again later or contact support@unity3d.com This should not be called in batch mode.

avatar image ENG-SCM · Dec 08, 2017 at 11:50 PM 0
Share

How is this "best answer?" The documentation states that there is, in fact, a command-line based activation method: Unity Command Line Documentation

However, neither activation or return works: alt text

So the "best answer" would be an explanation of why neither of these documented functions actually functions....

avatar image
2

Answer by Tak · Jan 19, 2016 at 12:32 PM

http://docs.unity3d.com/Manual/CommandLineArguments.html indicates that it's possible.

Comment
Add comment · Show 1 · 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 jimver004 · Oct 11, 2017 at 11:05 AM 0
Share

Is it or not possible to activate Unity3D through command line ?

avatar image
0

Answer by ENG-SCM · Dec 11, 2017 at 11:34 PM

With Unity 5.5.3f1 I was able to get this to work:

 "c:\program files\Unity5.5.3f1\Editor\Unity.exe" -quit -batchmode -nographics -serial <key> -username "<username>" -password "<password>"

Also, returning the license via command line worked:

 "c:\program files\Unity5.5.3f1\Editor\Unity.exe" -quit -batchmode -nographics -username "<username>" -password "<password>" -returnlicense

I was unable to get either to work under 5.1.1f1. The company I work for has to manage over 50 licenses across about as many automated build machines so this is a critical feature - especially when the build machines randomly "lose" licensing and need to be reactivated for no apparent reason.

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

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

8 People are following this question.

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

Related Questions

Activate Unity license from CLI for CI 1 Answer

Unity Command Line Fails to Get license 1 Answer

Running Unity Pro features and connecting to asset server without a Pro license 1 Answer

can i use a bought texture in an asset pack im creating? 1 Answer

Redistribute Standard Assets and/or free Unity Assets as part of my AssetStore Product? 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