You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Building on self-hosted Windows 11: dockerWorkspacePath doesn't update --workdir #643
Bug description
Running Unity Builder on Windows 11 self-hosted results in this error docker: Error response from daemon: the working directory 'c:/github/workspace' is invalid, it needs to be an absolute path.
Passing in dockerWorkspacePath as prompted doesn't seem to have an effect
Any help is appreciated
How to reproduce
Setup a self-hosted runner on Windows 11 and run unity builder with default args but
can confirm this is happening for me as well, on windows 10
would love a fix for this as it's currently blocking
edit: ah, I see the issue, actually. on windows it prepends c: to the front of the dockerWorkspacePath, so it is changing the value of workdir, it's just in our case we're using github/workspace, so it appears to be the same. that being said, it's still giving this error regardless:
docker: Error response from daemon: the working directory 'c:/github/workspace' is invalid, it needs to be an absolute path.
@roomyrooms , the quick and dirty workaround I found was to just downgrade the game-ci/unity-builder@v2 (because v3 still has the same issue) and it works successfully. I know this isn't a good solution but this apparently unblocks me for the time being until it's fixed:
(EDIT: never mind, I saw the discussion in the PR re. switching to windows containers.)
@Mannilie I'm running into the same workspace path problem and tried downloading to unity-builder@v2 but get a problem with the docker image not being available: docker: Error response from daemon: manifest for unityci/editor:windows-2022.3.30f1-windows-il2cpp-1 not found: manifest unknown: manifest unknown.
I'm fairly new to game.ci so may be overlooking something obvious - how are you obtaining an image with a '-1' suffix for the v2 builder?
Here’s an explanation of the "not found: manifest unknown" error regarding version 2 of game-ci/unity-builder:
The error:
docker: Error response from daemon: manifest for unityci/editor:windows-2022.3.30f1-windows-il2cpp-1 not found: manifest unknown: manifest unknown.
occurs because game-ci/unity-builder@2 is outdated and relies on older Docker images, specifically version 1 of the images, which are no longer published for new Unity releases.
You could use the customimage parameter, but recent images may not be compatible with the older action.
The correct approach would be to upgrade to the latest version of game-ci/unity-builder, which is version 4. This version uses updated Docker images and addresses many compatibility issues. You can check the latest releases here. Using version 4 ensures that you are using the latest supported Docker images, preventing such errors.
unityci/editor:windows-2022.3.30f1-windows-il2cpp-1 🔴 This image is not available.
unityci/editor:windows-2022.3.30f1-windows-il2cpp-2 🔴 This image is not available.
unityci/editor:windows-2022.3.30f1-windows-il2cpp-3 🟢 This image is available.
You can find more details about Docker images here and see Docker image releases here.
Solution
As mentioned, the solution has been discussed in the related PR. Specifically, this comment addresses the original issue. It might be worth documenting this somewhere for future reference. 🤔
Activity
canuc commentedon May 23, 2024
I am also running into this, any solutions?
roomyrooms commentedon Aug 27, 2024
can confirm this is happening for me as well, on windows 10
would love a fix for this as it's currently blocking
edit: ah, I see the issue, actually. on windows it prepends c: to the front of the dockerWorkspacePath, so it is changing the value of workdir, it's just in our case we're using github/workspace, so it appears to be the same. that being said, it's still giving this error regardless:
docker: Error response from daemon: the working directory 'c:/github/workspace' is invalid, it needs to be an absolute path.
Mannilie commentedon Sep 14, 2024
I'm running into this exact same problem as well and it's stopping me from being able to run on Windows hosts...

And can also confirm that adding the
dockerWorkspacePathdoesn't change it at all. Any ideas?Mannilie commentedon Sep 14, 2024
@roomyrooms , the quick and dirty workaround I found was to just downgrade the

game-ci/unity-builder@v2(because v3 still has the same issue) and it works successfully. I know this isn't a good solution but this apparently unblocks me for the time being until it's fixed:webbertakken commentedon Sep 16, 2024
Thanks for sharing the workaround. Happy to merge a PR if someone has suggested changes.
dri-richard commentedon Sep 24, 2024
(EDIT: never mind, I saw the discussion in the PR re. switching to windows containers.)
@Mannilie I'm running into the same workspace path problem and tried downloading to unity-builder@v2 but get a problem with the docker image not being available:
docker: Error response from daemon: manifest for unityci/editor:windows-2022.3.30f1-windows-il2cpp-1 not found: manifest unknown: manifest unknown.I'm fairly new to game.ci so may be overlooking something obvious - how are you obtaining an image with a '-1' suffix for the v2 builder?
GabLeRoux commentedon Sep 24, 2024
Here’s an explanation of the "not found: manifest unknown" error regarding version 2 of
game-ci/unity-builder:The error:
occurs because
game-ci/unity-builder@2is outdated and relies on older Docker images, specifically version 1 of the images, which are no longer published for new Unity releases.You could use the
customimageparameter, but recent images may not be compatible with the older action.The correct approach would be to upgrade to the latest version of
game-ci/unity-builder, which is version 4. This version uses updated Docker images and addresses many compatibility issues. You can check the latest releases here. Using version 4 ensures that you are using the latest supported Docker images, preventing such errors.You can find available Docker images here:
unityci/editor:windows-2022.3.30f1-windows-il2cpp-1🔴 This image is not available.unityci/editor:windows-2022.3.30f1-windows-il2cpp-2🔴 This image is not available.unityci/editor:windows-2022.3.30f1-windows-il2cpp-3🟢 This image is available.You can find more details about Docker images here and see Docker image releases here.
Solution
As mentioned, the solution has been discussed in the related PR. Specifically, this comment addresses the original issue. It might be worth documenting this somewhere for future reference. 🤔
Update docker.ts
megajogos commentedon Oct 17, 2025
I have the same issue:
docker: Error response from daemon: the working directory 'c:/github/workspace' is invalid, it needs to be an absolute pathThe maintainers abandoned the PR because a workaround exists by switching Docker Desktop to Windows containers (#668 (comment)).
But in my case I can't configure my docker this way.
Someone could please submit a PR where we really can configure this entire path: c:/github/workspace (without auto prefix c:)
@webbertakken