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

Unity Path Error on self-hosted Windows Runner #663

Open
DavidJakszta opened this issue Aug 11, 2024 · 0 comments
Open

Unity Path Error on self-hosted Windows Runner #663

DavidJakszta opened this issue Aug 11, 2024 · 0 comments
Labels
bug Something isn't working windows Microsoft Windows Platform

Comments

@DavidJakszta
Copy link

DavidJakszta commented Aug 11, 2024

Bug description

When building with game-ci/unity-builder@v4 and containerRegistryImageVersion: 2 the Unity Path isn't found.
The Unity Path either doesn't seem to be correct or something failed in the pulling/creating of the container. Also the action doesn't fail but that is of less concern to me at the moment.
image

How to reproduce

  • Use unity-builder action in workflow on a self-hosted windows 10, with container RegistryImageVersion: 2 specified.
  • Docker-Image: unityci/editor:windows-2021.3.22f1-windows-il2cpp-2
  • Workflow yaml:
      - name: Build project
        uses: game-ci/unity-builder@v4
        env:
          UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
          UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
          UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
        with:
          targetPlatform: StandaloneWindows
          buildMethod: BuildScript.PerformWindowsBuild${{ inputs.build-method }}
          #runAsHostUser: true
          dockerWorkspacePath: /github/workspace
          containerRegistryImageVersion: 2

Expected behavior

  • The Unity installation is found and the license is activated succesfully.
    Additional details
    Rather a question: is it possible to ssh into the container or something to see what could be wrong with the path?
@DavidJakszta DavidJakszta added the bug Something isn't working label Aug 11, 2024
@davidmfinol davidmfinol added the windows Microsoft Windows Platform label Oct 10, 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 windows Microsoft Windows Platform
Projects
None yet
Development

No branches or pull requests

2 participants