Skip to content

Activation fails on windows-2025 #766

@bitsandfoxes

Description

@bitsandfoxes

Bug description

When targeting windows-latest (which translates to windows-2025 right now) the builds fail with

###########################
#        Activating       #
###########################

Adding licensing server config
Unable to retrieve boot drive serial number
Acquired floating license: "" with timeout 

Targeting windows-2022 succeeds.
Targeting ubuntu-latest succeeds.

How to reproduce

We're running the action as part of CI in this configuration

  build:
    name: Build for ${{ matrix.targetPlatform }}
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        include:
          - targetPlatform: StandaloneWindows64
            os: windows-latest
          - targetPlatform: Android
            os: ubuntu-latest

      # ... some other steps 

      - uses: game-ci/unity-builder@v4
        if: steps.cache-build.outputs.cache-hit != 'true'
        with:
          unityVersion: ${{ env.UNITY_VERSION }}
          targetPlatform: ${{ matrix.targetPlatform }}
          unityLicensingServer: ${{ secrets.LICENSE_SERVER_URL }}
          buildName: SentaurSurvivors-${{ matrix.targetPlatform }}
          customParameters: -dsn ${{ secrets.DSN }} -auth_token ${{ secrets.AUTH_TOKEN }} # Arguments cannot be passed via ENV
          allowDirtyBuild: true

      # ... some more steps

Expected behavior

Unity activates and builds the game on all supported platforms.

Additional details

You can find our full setup here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestwindowsMicrosoft Windows Platform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions