文档

​
​

Development

User Acquisition

Monetization

工业

Unity License Server

Get Started

Quick start setup

Advanced setup

Administration

Troubleshooting

Unity License Server

此页面不支持所选语言。
​
​
Unity Licensing Server
  • Introduction
  • What's new
  • Requirements
  • Getting started
  • Server setup (quick start)
  • Server setup (advanced)
    • Download the server setup
    • Configure the server
    • Download and import the license
    • Test the server
    • Set up a service
    • Back up and restore
    • Server paths
  • Server administration
  • Server migration
  • Client configuration
  • License checkout to work offline
  • Troubleshooting (server)
  • Troubleshooting (client)
  1. Unity Licensing Server

Downloading and importing the license archive file

Download and import the license file needed for your instance of the Unity Licensing Server.
阅读时间3 分钟
最后更新于 9 个月前

This task is part of the end-to-end process for setting up the Unity Licensing Server.
After you've configured the licensing server, run the
import
command to:
  • Import the license archive file.
  • Store the server license file in the current user's platform-specific directory for the licensing server.
  • Move the signing delegation files to the platform-specific directory.
  • Set the license signing certificate password in the
    licensing-server-config.json
    file.
重要
For version 2.x, complete each of the following steps (and future maintenance tasks) using an account that's a member of the
unity-licensing-server
group, even those users with administrator or root user accounts. The server setup creates the
unity-licensing-server
group the first time it runs.
重要
For version 1.x, use the same service account that you used to set up the server to complete each of the following steps now and for any future maintenance or updates.
For information on the locations of the licensing server files and directories, refer to Server paths.
Follow these steps to download the license archive file and run the import command:
  1. Go to the Unity ID portal (id.unity.com).
  2. Select Organizations and select the organization that has your floating license subscription.
  3. Select Subscriptions & Services from the side panel, and select your floating license subscription.
  4. Select Configure License Server.
  5. Select Download licenses. If this button is disabled, make sure you assigned seats, as described in Register the server and manage seats.
  6. Download the
    .zip
    file to a directory of your choosing. Take note of the
    .zip
    file's location, which you will need in a later step.
    注意
    Do not unzip the archive file.
  7. If you have any Linux Terminal or Windows PowerShell windows open, close them, then open a new window. This ensures that changes to your user or group permission that the
    setup
    command made are applied in the new terminal session.
  8. In your Terminal or Powershell window, change directories to the Licensing Server program files directory. This is the location where you unzipped
    Unity.Licensing.Server.*.zip
    during the download procedure.
  9. Run the command that matches your operating system to import the archive:
    • Linux:
      ./Unity.Licensing.Server import <filepath-to-downloaded-archive>
    • Windows:
      .\Unity.Licensing.Server.exe import <filepath-to-downloaded-archive>


    注意
    <filepath-to-downloaded-archive>
    is the full path to the license archive
    .zip
    file that you downloaded in an earlier step. This path includes the
    .zip
    file name.

    A list of all available toolsets for this licensing server appears in the Terminal or PowerShell window:
    Extracting files...DoneValidating archive content...Done LSD type import detectedImporting server license files...DoneImporting delegation file...DoneList of available toolsets on this server - [1] LicenseServer_3573461705080_1 [Unity Enterprise for Games(Floating)]Enter the index number of the toolset that should be used by default: 1
  10. Enter the toolset ID you want to set as the default. For more information about toolsets, refer to Advanced Server Configuration. The
    import
    command writes the selected toolset ID to the
    licensing-server-config.json
    file and displays the following message in the Terminal or PowerShell window:
    Successfully imported licensing files. You may run the server.Please note that if the server is already running, you will have to restart it.
  11. Restart the server to reload the new license configuration files.
注意
If the licensing server is running as a service, follow the instructions, Restarting the service.

Next steps

Proceed to testing the licensing server to continue setting up your licensing server.

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。

  • 在本页上
    • Next steps


报告此页面的问题