Version: 2023.2
언어: 한국어
License activation methods
Manual license activation

Manage your license through the command line

Unity를 사용하려면 활성화된 라이선스가 필요합니다. Unity Plus 또는 Pro 라이선스의 경우 일련 번호가 있어야 하며 Unity Personal 라이선스의 경우에는 일련번호가 없어도 됩니다.

The primary license activation method is the Unity Hub.

The following information covers an alternate method for activating a license and returning a license by using the command line. You might consider this method in situations such as:

  • You have internet access, but you use Unity in headless mode (without a GUI) for automated tasks, such as builds and tests.
  • You have internet access, but you’re unable or unwilling to install the Unity Hub.

Unity 라이선스 정보를 모르면 라이선스 소유자에게 문의하십시오. 소유자는 조직을 통해 시트를 할당할 수 있습니다. 또는 Unity 고객 서비스팀에 연락할 수도 있습니다.

커맨드 라인에서 라이선스 활성화

Before activating your Unity license by using the command line, make sure that the license file folder exists. See “where is my Unity license file stored” in License troubleshooting . Also make sure that you have write permission to this folder.

참고: 커맨드 라인 절차는 Personal 라이선스에 연결된 일련 번호가 없기 때문에 Plus와 Pro에서만 작동합니다. Unity Hub를 사용하여 Personal 라이선스를 활성화하십시오. 다른 OS를 사용하는 경우 Unity Hub를 통해 라이선스를 관리할 수 있습니다.

macOS

Enter the following command into the Terminal to launch Unity and activate your license:

<unity-command-location> -quit -batchmode -serial SB-XXXX-XXXX-XXXX-XXXX-XXXX -username 'name@example.com' -password 'XXXXXXXXXXXXX'

Replace <unity-command-location> with the full path to your Editor application, concatenated with /Contents/MacOS/Unity. For example, if you installed a 2022.2.0b4 Editor to the default location, <unity-command-location> is:

/Applications/Unity/Hub/Editor/2022.2.0b4/Unity.app/Contents/MacOS/Unity


macOS example

/Applications/Unity/Hub/Editor/2022.2.0b4/Unity.app/Contents/MacOS/Unity -quit -batchmode -serial SB-XXXX-XXXX-XXXX-XXXX-XXXX -username 'name@example.com' -password 'XXXXXXXXXXXXX'

: 커맨드 라인으로 활성화하려고 Jenkins 같은 CI(지속적 통합) 툴을 사용하는 경우 -nographics 플래그를 추가하여 WindowServer 오류를 방지합니다.

Windows

Enter the following command into the Command Prompt to launch Unity and activate your license:

"<editor-installation-location>" -batchmode -username name@example.com -password XXXXXXXXXXXXX -serial E3-XXXX-XXXX-XXXX-XXXX-XXXX -quit

Replace <editor-installation-location> with the full path to your Editor application. For example, if you installed a 2022.2.0b4 Editor to the default location, <editor-installation-location> is:

C:\Program Files\Unity\Hub\Editor\2022.2.0b4\Editor\Unity.exe


Windows example

"C:\Program Files\Unity\Hub\Editor\2022.2.0b4\Editor\Unity.exe" -batchmode -username name@example.com -password XXXXXXXXXXXXX -serial E3-XXXX-XXXX-XXXX-XXXX-XXXX -quit


Next steps and troubleshooting

이 커맨드를 실행한 후 Unity가 라이선스 서버와 통신하는 데 시간을 충분히 줄 수 있도록 몇 초 기다립니다. 활성화를 실패한 경우 Editor.log를 열어 정보를 확인할 수 있습니다. 활성화에 오류가 있다면 활성화 문제를 확인하여 해당 문제에 대한 솔루션을 찾습니다.

커맨드 라인을 통한 라이선스 반환

macOS

Enter the following command into the Terminal to return the license:

<unity-command-location> -quit -batchmode -returnlicense -username 'name@example.com' -password 'XXXXXXXXXXXXX'

Replace <unity-command-location> with the full path to your Editor application, concatenated with /Contents/MacOS/Unity. For example, if you installed a 2022.2.0b4 Editor to the default location, <unity-command-location> is:

/Applications/Unity/Hub/Editor/2022.2.0b4/Unity.app/Contents/MacOS/Unity


macOS example

/Applications/Unity/Hub/Editor/2022.2.0b4/Unity.app/Contents/MacOS/Unity -quit -batchmode -returnlicense -username 'name@example.com' -password 'XXXXXXXXXXXXX'


Windows

Enter the following into the Command Prompt to return the license

"<editor-installation-location>" -quit -batchmode -returnlicense -username name@example.com -password XXXXXXXXXXXXX

Replace <editor-installation-location> with the full path to your Editor application. For example, if you installed a 2022.2.0b4 Editor to the default location, <editor-installation-location> is:

C:\Program Files\Unity\Hub\Editor\2022.2.0b4\Editor\Unity.exe


Windows example

"C:\Program Files\Unity\Hub\Editor\2022.2.0b4\Editor\Unity.exe" -quit -batchmode -returnlicense -username name@example.com -password XXXXXXXXXXXXX


Next steps and troubleshooting

Wait a few seconds after running this command to give Unity enough time to communicate with the license server. You can use the Hub to confirm that you returned your license by opening the Preferences menu () and selecting Licenses. If you experience issues, see Troubleshooting.

추가 리소스

License activation methods
Manual license activation
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961