question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Licensing Access Token Unavailable

See original GitHub issue

Bug description

When I try to build my game, I get the following error

###########################
#    Building project     #
###########################

Unity Editor version:    2021.3.0f1 (6eacc8284459)
Branch:                  2021.3/staging
Build type:              Release
Batch mode:              YES
System name:             Linux
Distro version:          #26~20.04.1-Ubuntu SMP Thu Apr 7 19:42:45 UTC 2022
Kernel version:          5.13.0-1022-azure
Architecture:            x86_64
Available memory:        6946 MB
[LicensingClient] Channel doesn't exist: "LicenseClient-root"
[Licensing::Module] Successfully launched the LicensingClient (PId: 102)
[SignatureVerifier] Application signature verification not supported on this platform.
[LicensingClient] Handshaking with LicensingClient (version: 1.9.0+[249](https://github.com/AtaTrkgl/project-portal/runs/6334820620?check_suite_focus=true#step:4:249)add7)
[Licensing::Module] Successfully connected to LicensingClient on channel: "LicenseClient-root" (connect: 0.53s, validation: 0.09s, handshake: 0.00s)
[Licensing::Module] Connected to LicensingClient (PId: 102, launch time: 0.00, total connection time: 0.62s)
Entitlement-based licensing initiated
[Licensing::Module] Error: Access token is unavailable
[LicensingClient] Licenses updated successfully

LICENSE SYSTEM [202[257](https://github.com/AtaTrkgl/project-portal/runs/6334820620?check_suite_focus=true#step:4:257) 13:56:26] Next license update check is after 2022-05-08T13:53:00

How to reproduce

My build.yml
name: ⚙️ Build

on:
  # push:
  #   branches:
  #     - main
  pull_request:
    branches:
      - main
  workflow_dispatch:

jobs:
  buildForAllSupportedPlatforms:
    name: Build for ${{ matrix.targetPlatform }}
    runs-on: ubuntu-latest
    strategy:
      fail-fast: true
      matrix:
        targetPlatform:
          - StandaloneOSX # Build a macOS standalone (Intel 64-bit).
          - StandaloneWindows # Build a Windows standalone.
          - StandaloneWindows64 # Build a Windows 64-bit standalone.
          - StandaloneLinux64 # Build a Linux 64-bit standalone.
    steps:
      # Checkout
      - name: ⏬ Checkout Repository
        uses: actions/checkout@v2
        with:
          lfs: true

      # Cache
      - name: 📂 Use the Cache
        uses: actions/cache@v2
        with:
          path: Project-Portal/Library
          key: Library-${{ matrix.targetPlatform }}
          restore-keys: |
            Library-

      # # Test
      # - name: 🧪 Run Tests
      #   uses: game-ci/unity-test-runner@v2
      #   env:
      #     UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
      #   with:
      #     projectPath: Project-Portal
      #     githubToken: ${{ secrets.GITHUB_TOKEN }}

      # Build
      - name: ⚙️ Build Project
        uses: game-ci/unity-builder@v2
        env:
          UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
          UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
          UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
        with:
          buildName: Ingression
          projectPath: Project-Portal
          targetPlatform: ${{ matrix.targetPlatform }}
          versioning: Semantic

      # Output
      - name: ⏫ Upload Build
        uses: actions/upload-artifact@v2
        with:
          name: Ingression (${{ matrix.targetPlatform }})
          path: build/${{ matrix.targetPlatform }}

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
davidmfinolcommented, May 8, 2022

Ok, I think the issue is with the meta file for Assets/_Scenes/Levels/Chapter 2/C2-L13.unity. In your logs:

GUID [dcbbfed44e705ae49bfa15b94d1a228b] for asset 'Assets/_Scenes/Levels/Chapter 2/C2-L13.unity.meta' conflicts with:
  'Assets/_Scenes/Levels/Chapter 2/C2-L14.unity.meta'
Assigning a new guid.
GUID [dcbbfed44e705ae49bfa15b94d1a228b] for asset 'Assets/_Scenes/Levels/Chapter 2/C2-L14.unity.meta' conflicts with:
  'Assets/_Scenes/Levels/Chapter 2/C2-L13.unity.meta'
Assigning a new guid.

I think your git repo needs to update Assets/_Scenes/Levels/Chapter 2/C2-L13.unity.meta to change the guid from dcbbfed44e705ae49bfa15b94d1a228b to 92a1db71f6ab63e4ba1bce96c9f485df

1reaction
davidmfinolcommented, May 8, 2022

Considering that the final line says [LicensingClient] Licenses updated successfully, what makes you think that the Error: Access token is unavailable is an error that needs to be fixed? Do you get no build artifact? Or is there something wrong when you run the resulting build?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Licensing Access Token Unavailable #396 - bytemeta
Licensing Access Token Unavailable #396. Bug description. When I try to build my game, I get the following error
Read more >
Personal License Key not working · Issue #204 · game-ci/unity ...
PS: I checked original downloaded alf file it has a different machine id then the one in the error, it seems with CI...
Read more >
License server returned unknown error. Please ... - Unity Forum
Hi After our companys licenses expired the other day I can't login to ... token is expired, attempting to get a new one...
Read more >
I am trying to active my unity license. H… - Apple Community
I moved the licence file to the different folder and I am sure that UnityHub has the file access. However, I got the...
Read more >
Troubleshooting Licensing - Cisco
If you get the "The Product Instance Registration Token you entered is invalid or has expired. Ensure that you have pasted the entire...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found