Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Unable to activate a pooled license: Failure acquiring floating license

Discussion in 'Unity Build Automation' started by kexar66, Sep 30, 2022.

  1. kexar66

    kexar66

    Joined:
    Feb 27, 2013
    Posts:
    48
    I am getting this errors when trying to build iOS. Any ideas?

    [2022-09-30T13:26:24.746Z] - 7.1.1.2.7.4 - ERROR: Unable to activate a pooled license: Failure acquiring floating license
    [2022-09-30T13:26:43.141Z] - 7.1.1.2.7.4 - ERROR: Unable to activate legacy license
    [2022-09-30T13:28:28.568Z] - 7.1.1.2.7.4 - FATAL: ! Unity player export failed!
    [2022-09-30T13:26:24.746Z] - 7.1.1.2.7.4 - ERROR: Unable to activate a pooled license: Failure acquiring floating license
    [2022-09-30T13:26:24.747Z] - 7.1.1.2.7.4 - WARN: Failed to acquire pooled license. Falling back to legacy
    [2022-09-30T13:26:43.141Z] - 7.1.1.2.7.4 - ERROR: Unable to activate legacy license
    No Library cache found - ALL assets will be re-imported.
    [2022-09-30T13:28:28.568Z] - 7.1.1.2.7.4 - WARN: Running Unity in Batch Mode can help reproduce and debug potential build/test issues.
    [2022-09-30T13:28:28.568Z] - 7.1.1.2.7.4 - WARN: For the logfile option, replace "PATH_TO_LOG_FILE" with the path to the file you want Unity to output the logs to.
    [2022-09-30T13:28:28.568Z] - 7.1.1.2.7.4 - WARN: For the projectPath option, replace "PATH_TO_PROJECT" with the local path to your Unity project.
    [2022-09-30T13:28:28.568Z] - 7.1.1.2.7.4 - WARN: For the testResults option, replace "PATH_TO_TEST_RESULTS" with the path to the xml file you want Unity to output the test results to.
    [2022-09-30T13:28:28.568Z] - 7.1.1.2.7.4 - WARN: Try running Unity 2022.1.5f1 in batch mode locally with the following commands:
    [2022-09-30T13:28:28.568Z] - 7.1.1.2.7.4 - WARN: When running from Mac:
    [2022-09-30T13:28:28.568Z] - 7.1.1.2.7.4 - WARN: /APPLICATION_PATH/Unity/Hub/Editor/2022.1.5f1/Unity.app/Contents/MacOS/Unity -logFile "PATH_TO_LOG_FILE" -projectPath "PATH_TO_PROJECT" -batchmode -skipMissingProjectID -skipMissingUPID -buildTarget ios --quit
    [2022-09-30T13:28:28.568Z] - 7.1.1.2.7.4 - WARN: For additional information on building in Batch Mode see https://docs.unity3d.com/Manual/EditorCommandLineArguments.html
    [2022-09-30T13:28:28.568Z] - 7.1.1.2.7.4 - FATAL: ! Unity player export failed!
     
  2. Benjamin-Gooding

    Benjamin-Gooding

    Unity Technologies

    Joined:
    Apr 12, 2022
    Posts:
    242
    If we aren't able to eventually acquire a license would we exit before even running Unity. The FATAL at the end of your log is the key thing. I would recommend looking at your Full Log under the building unity portion to identify where the build is failing. I would also recommend running Unity in batch mode like the warning output states. If you run into issue in batch mode than you will 100% for sure have issues in cloud build.
     
  3. kexar66

    kexar66

    Joined:
    Feb 27, 2013
    Posts:
    48
    Thanks for your response. Sending the full log.
     

    Attached Files:

  4. Benjamin-Gooding

    Benjamin-Gooding

    Unity Technologies

    Joined:
    Apr 12, 2022
    Posts:
    242
    This looks like the real issue:
    3071: [2022-09-30T13:28:28Z - Unity] [Package Manager] Done resolving packages with errors in 13.58 seconds
    3072: [2022-09-30T13:28:28Z - Unity] Failed to resolve packages: Tarball package [com.unity.xr-content.xr-sim-environments] cannot be found at path /BUILD_PATH/kexar66.m-zeum-trebi-ov.iosdistributionbrosvision/ContentPackages\com.unity.xr-content.xr-sim-environments-1.0.0-pre.1.tgz.. No packages loaded.​
     
  5. lambert406

    lambert406

    Joined:
    Apr 14, 2018
    Posts:
    4
    i Have the same issue when building for ios.

    ERRORS:
    [2023-02-06T20:50:03.438Z] - 7.2.6.2.4.2 - ERROR: Unable to activate a pooled license: Failure acquiring floating license
    [2023-02-06T20:50:21.705Z] - 7.2.6.2.4.2 - ERROR: Unable to activate legacy license
    [2023-02-06T20:52:04.219Z] - 7.2.6.2.4.2 - ERROR: GIT: Error during clone: /usr/local/bin/git '--git-dir=/opt/workspace/workspace/lambert406.greedyclans.default-ios/.git' '--work-tree=/opt/workspace/workspace/lambert406.greedyclans.default-ios' rev-parse 'new commit' 2>&1:fatal: ambiguous argument 'new commit': unknown revision or path not in the working tree.
    [2023-02-06T20:52:04.219Z] - 7.2.6.2.4.2 - ERROR: OAUTH: Error during checkout: /usr/local/bin/git '--git-dir=/opt/workspace/workspace/lambert406.greedyclans.default-ios/.git' '--work-tree=/opt/workspace/workspace/lambert406.greedyclans.default-ios' rev-parse 'new commit' 2>&1:fatal: ambiguous argument 'new commit': unknown revision or path not in the working tree.
    ! checkout failed. /usr/local/bin/git '--git-dir=/opt/workspace/workspace/lambert406.greedyclans.default-ios/.git' '--work-tree=/opt/workspace/workspace/lambert406.greedyclans.default-ios' rev-parse 'new commit' 2>&1:fatal: ambiguous argument 'new commit': unknown revision or path not in the working tree.
    [2023-02-06T20:50:03.438Z] - 7.2.6.2.4.2 - ERROR: Unable to activate a pooled license: Failure acquiring floating license
    [2023-02-06T20:50:03.439Z] - 7.2.6.2.4.2 - WARN: Failed to acquire pooled license. Falling back to legacy
    [2023-02-06T20:50:21.705Z] - 7.2.6.2.4.2 - ERROR: Unable to activate legacy license
    [2023-02-06T20:52:04.219Z] - 7.2.6.2.4.2 - ERROR: GIT: Error during clone: /usr/local/bin/git '--git-dir=/BUILD_PATH/lambert406.greedyclans.default-ios/.git' '--work-tree=/BUILD_PATH/lambert406.greedyclans.default-ios' rev-parse 'new commit' 2>&1:fatal: ambiguous argument 'new commit': unknown revision or path not in the working tree.
    [2023-02-06T20:52:04.219Z] - 7.2.6.2.4.2 - ERROR: OAUTH: Error during checkout: /usr/local/bin/git '--git-dir=/BUILD_PATH/lambert406.greedyclans.default-ios/.git' '--work-tree=/BUILD_PATH/lambert406.greedyclans.default-ios' rev-parse 'new commit' 2>&1:fatal: ambiguous argument 'new commit': unknown revision or path not in the working tree.
    ! checkout failed. /usr/local/bin/git '--git-dir=/BUILD_PATH/lambert406.greedyclans.default-ios/.git' '--work-tree=/BUILD_PATH/lambert406.greedyclans.default-ios' rev-parse 'new commit' 2>&1:fatal: ambiguous argument 'new commit': unknown revision or path not in the working tree.