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

Build fails on self-hosted mac runner if unity hub has custom install location #649

Open
yvz-dmr opened this issue Apr 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@yvz-dmr
Copy link

yvz-dmr commented Apr 28, 2024

I am running unity-builder on self-hosted mac and my machine doesn't have that much storage space so I added external hard drive and pointed unity hub to install unity editors to that drive which cause unity-builder to fail because it is looking at default install location for unity editor executable.

Is there any work around to this issue, it would be nice to give unity-builder the path of the unity editors folder in the yaml file

  • Here it says unity editor is already installed

Generated version 0.0.13 (no version tags found).
Using android versionCode 13
Building locally
/Applications/Unity Hub.app/Contents/MacOS/Unity Hub -- --headless install --version 2023.2.16f1 --changeset > 7f45223012db --module ios --architecture arm64 --childModules
2024-04-25 21:16:12.182 Unity Hub[48832:1330170] WARNING: Secure coding is not enabled for restorable state! Enable > secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
Error while installing an editor or a module from changeset. Error: Editor already installed in this location.

  • And later on the pipeline it says it is not able to find unity editor because unity hub has custom install location

###########################

Building project

###########################

/Volumes/Mac/gh-runner/_work/_actions/game-ci/unity-builder/v4/dist/platforms/mac/steps/build.sh: line 131: > /Applications/Unity/Hub/Editor/2023.2.16f1/Unity.app/Contents/MacOS/Unity: No such file or directory

@yvz-dmr yvz-dmr added the bug Something isn't working label Apr 28, 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