Skip to content

unityLicensingServer is ignored on Windows #280

@shat00n

Description

@shat00n

Bug description
The unityLicensingServer input is completely ignored when running on Windows.

How to reproduce

  1. setup a job on windows github runner
runs-on: windows-latest
  1. add a step with game-ci/unity-test-runner and unityLicensingServer in inputs:
      - name: Test
        uses: game-ci/unity-test-runner@main
        with:
          unityLicensingServer: https://server..
          projectPath: .
          testMode: playmode
          artifactsPath: reports
          checkName: UnitTests Results
  1. Run
  • Result
    The run fails with
License activation strategy could not be determined.

Visit https://game.ci/docs/github/activation for more
details on how to set up one of the possible activation strategies.
Error: No valid license activation strategy could be determined. Make sure to provide UNITY_EMAIL, UNITY_PASSWORD, and either a UNITY_SERIAL \
or UNITY_LICENSE. See more info at https://game.ci/docs/github/activation
Error: The process 'C:\Windows\system32\docker.exe' failed with exit code 1
  • Expected behavior
    The entrypoint script will acquire a new license like it does in Linux:
2024-07-24T12:07:24.1498242Z Adding licensing server config
2024-07-24T12:07:25.6318651Z Acquired floating license: "ab19b004-37e1-4f9c-..." with timeout 2024-07- 
24T12:22:24.9628870+00:00

Additional details
The same issue was resolved in unity-builder a few months ago - https://github.com/game-ci/unity-builder/pull/638/files

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions