unity-builder icon indicating copy to clipboard operation
unity-builder copied to clipboard

Unity Path Error on self-hosted Windows Runner

Open DavidJakszta opened this issue 1 year ago • 0 comments

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 avatar Aug 11 '24 15:08 DavidJakszta