Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question 2020.1 and enterprise licensing server

Discussion in 'Editor & General Support' started by Yacuzo, Aug 3, 2020.

  1. Yacuzo

    Yacuzo

    Joined:
    Sep 22, 2016
    Posts:
    27
    Hi,

    We had a licensing server set up before summer, and it works fine for 2019.4. I was going to test a project in 2020.1, but it fails to launch.

    The only relevant error I can find in any of the log files is this: "ERROR - Unity.Licensing.Client.Program || An error occured while initializing package entitlements: Error while initializing PackageService. Configuration not found: packageAccessControlListBaseUrl" .

    Am I missing something in my config file, or does the server need an update (or both), or is it a unity bug?
     
  2. jwtan_unity

    jwtan_unity

    Unity Technologies

    Joined:
    Nov 28, 2018
    Posts:
    12
    I've DM you about this problem.
     
  3. Yacuzo

    Yacuzo

    Joined:
    Sep 22, 2016
    Posts:
    27
    Adding "useLsd": false to services-config.json solved the issue.
     
    fffMalzbier likes this.
  4. build-bot

    build-bot

    Joined:
    Mar 17, 2021
    Posts:
    1
    hello! I am experiencing the same issue, and tried adding "useLsd": false, but the problem still persists, can anyone please help?
     
  5. BIMG

    BIMG

    Joined:
    Oct 1, 2014
    Posts:
    16
    We have the same problem in Unity2020.3.14, which begin after some time of success use with parameter "useLsd": false.

    License lease stops at:
    Code (CSharp):
    1. [UnityConnectServicesConfig] Local config successfully read: "/Library/Application Support/Unity/config/services-config.json"
    2. [UnityConnectServicesConfig] "licensingServiceBaseUrl" was overridden with "http://10.102.52.30:4545"
    3. [UnityConnectServicesConfig] "clientConnectTimeoutSec" was overridden with "20"
    4. [UnityConnectServicesConfig] "clientHandshakeTimeoutSec" was overridden with "20"
    5. [UnityConnectServicesConfig] Service configuration:
    6.     "servicesConfigBaseUrl": "",
    7.     "disableServicesWindow": false,
    8.     "enableEntitlementLicensing": true,
    9.     "disableUserLogin": false,
    10.     "disableCollabWindow": false,
    11.     "entitlementCacheTimeoutInSeconds": 60,
    12.     "clientConnectTimeoutSec": 20,
    13.     "clientHandshakeTimeoutSec": 20,
    14.     "clientResolveEntitlementsTimeoutSec": 2,
    15.     "clientUpdateLicenseTimeoutSec": 10,
    16.     "licensingServiceBaseUrl": "http://10.102.52.30:4545"
    With output:
    Code (CSharp):
    1. [Licensing::Module] Successfully connected to LicensingClient on channel: "LicenseClient-Builder" (connect: 0.00s, validation: 0.01s, handshake: 0.09s)
    2. Entitlement-based licensing initiated
    3. [LicensingClient] Licenses updated successfully
    and log Unity.Licensing.Client.log:
    Code (CSharp):
    1. 2021-12-17 07:13:41.619 - ERROR - Unity.Licensing.Client.Program || An error occured while initializing package entitlements: Error while initializing PackageService. Configuration not found: packageAccessControlListBaseUrl
    2. 2021-12-17 07:13:41.660 - INFO  - Unity.Licensing.Client.Services.Package.PackageEnforcer || Trying to update package entitlements file
    3. 2021-12-17 07:13:41.661 - ERROR - Unity.Licensing.Client.Services.Package.PackageEnforcer || Failed to update package entitlements file (attempt 1/5. Will retry in 0.20 minutes.
    I saw some flick of dialog while run Unity from terminal. This dialog probably blocks Unity start in batch mode.
    Code (CSharp):
    1. The last time you opened Unity, it unexpectedly quit while reopening windows. Do you want yo try to reopen its windows again?
    Workaround:
    1. disable floating licence by rename folder /Library/Application Support/Unity/config
    2. restart computer
    3.start Unity Hub
    4. login to account
    5. activate standart licence
    6. start Unity editor with project, which shows warning dialog
    7. confirm ddialog
    8. return Unity licence in Unity Hub
    9. logout from Unity Hub
    10. rename back folder with configuration /Library/Application Support/Unity/config
    11. restart computer