- I am using multiple license server subscriptions, such as Floating and Build Server licenses, and I have assigned them to my organization.
- I have purchased additional Enterprise Build Server floating licenses and wish to use them together with the licenses included in my Enterprise subscription.
- I want my License Server to lease more than one of my organization’s subscriptions.
- During the setup process of my Licensing Server, I have multiple toolsets to choose a default from.
To manage which license is leased from a server with multiple toolsets, you have two main options: a client-side configuration or a server-side configuration.
Option 1: Client-Side Configuration (recommended)
{
"licensingServiceBaseUrl": "http://SERVER-IP-ADDRESS:PORT",
"enableEntitlementLicensing": true,
"enableFloatingApi": true,
"clientConnectTimeoutSec": 5,
"clientHandshakeTimeoutSec": 10,
“toolset”: "LicenseServer_12345678901234_2,LicenseServer_12345678901235_2"
}
Option 2: Server-Side Configuration
As an alternative, you can modify the server's configuration to automatically allocate the first available license. This is achieved by removing the defaultToolset key from the licensing-server-config.json file on the license server. After removing the key, a server restart is required. Details on the server configuration file can be found here.
Please note that removing the defaultToolset key from licensing-server-config.json will result in the server showing a “Degraded” status in the logs and dashboard.
- Windows: %PROGRAMDATA%\Unity\config\services-config.json
- macOS: /Library/Application Support/Unity/config/services-config.json
- Linux: /usr/share/unity3d/config/services-config.json