If you experience issues, refer Troubleshooting. You can use the Hub to confirm that you returned your license by opening the Preferences menu ( ) and selecting Licenses. Wait a few seconds after running this command to give Unity enough time to communicate with the license server. Windows example "C:\Program Files\Unity\Hub\Editor\2022.2.0b4\Editor\Unity.exe" -quit -batchmode -returnlicense -username -password XXXXXXXXXXXXX MacOS example /Applications/Unity/Hub/Editor/2022.2.0b4/Unity.app/Contents/MacOS/Unity -quit -batchmode -returnlicense -username -password 'XXXXXXXXXXXXX'Įnter the following into the Command Prompt to return the license "" -quit -batchmode -returnlicense -username -password XXXXXXXXXXXXX For example, if you installed a 2022.2.0b4 Editor to the default location, is: /Applications/Unity/Hub/Editor/2022.2.0b4/Unity.app/Contents/MacOS/Unity Replace with the full path to your Editor application, concatenated with /Contents/MacOS/Unity. Returning the license through the command line macOSĮnter the following command into the Terminal to return the license: -quit -batchmode -returnlicense -username -password 'XXXXXXXXXXXXX' For any activation errors, check Activation issues to find a solution for your issue. If activation fails, you can open the Editor.log for information. Wait several seconds after running this command to give Unity enough time to communicate with the license server. Windows example "C:\Program Files\Unity\Hub\Editor\2022.2.0b4\Editor\Unity.exe" -batchmode -username -password XXXXXXXXXXXXX -serial E3-XXXX-XXXX-XXXX-XXXX-XXXX -quit For example, if you installed a 2022.2.0b4 Editor to the default location, is: C:\Program Files\Unity\Hub\Editor\2022.2.0b4\Editor\Unity.exe Replace with the full path to your Editor application. WindowsĮnter the following command into the Command Prompt to launch Unity and activate your license: "" -batchmode -username -password XXXXXXXXXXXXX -serial E3-XXXX-XXXX-XXXX-XXXX-XXXX -quit Tip: If you use continuous integration (CI) tools like Jenkins to activate via the command line, add the -nographics flag to prevent a WindowServer error. MacOS example /Applications/Unity/Hub/Editor/2022.2.0b4/Unity.app/Contents/MacOS/Unity -quit -batchmode -serial SB-XXXX-XXXX-XXXX-XXXX-XXXX -username -password 'XXXXXXXXXXXXX' Replace with the full path to your Unity Editor application, concatenated with /Contents/MacOS/Unity. macOSĮnter the following command into the Terminal to launch Unity and activate your license: -quit -batchmode -serial SB-XXXX-XXXX-XXXX-XXXX-XXXX -username -password 'XXXXXXXXXXXXX' If you have another operating system, you can manage your license through the Hub. Use the Unity Hub to activate Personal licenses. Note: The command line procedure only works for Unity Plus and Unity Pro licenses, because Personal licenses don’t have serial numbers associated with them. If you need to activate your license offline, a Unity Pro subscription needs to be purchased. Also make sure that you have write permission to this folder. Refer to “where is my Unity license file stored” in License troubleshooting. Manually activate your license, by following a 3-step process to. Use the command line to activate or return your license. Understand the different methods you can use to activate your license and decide which method is best for you. To see what kinds of licenses Unity offers, go to the Unity Store. Owners can assign a seat to you via the Organization, or you can contact Unity Customer Service.īefore activating your Unity license by using the command line, make sure that the license file folder exists. To use Unity, you need an activated license. If you don’t know your Unity license information, speak to the Owner of your license. You have internet access, but you’re unable or unwilling to install the Unity Hub.You have internet access, but you use Unity in headless mode (without a GUI) for automated tasks, such as builds and tests.You might consider this method in situations such as: The following information covers an alternate method to Unity Hub for activating and returning a license for Unity Plus or Unity Pro, by using the command line. For information about activating a Unity Industry license, refer to the Unity Support article, How to activate or return a Unity Industry license. The primary license activation method for Unity Plus, Unity Pro, and Unity Personal is the Unity Hub. For a Unity Personal license, you don’t need a serial number. For Unity Plus and Unity Pro licenses, you need to get a serial number. To use Unity, you need an activated license.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |