Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unityLicensingServer is ignored on Windows #280

Open
shat00n opened this issue Jul 24, 2024 · 0 comments
Open

unityLicensingServer is ignored on Windows #280

shat00n opened this issue Jul 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@shat00n
Copy link

shat00n commented Jul 24, 2024

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

@shat00n shat00n added the bug Something isn't working label Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant