Skip to content

CI: pin Unity Hub 3.x on macOS builds - #401

Merged
MaxHeimbrock merged 1 commit into
mainfrom
max/ci-pin-unity-hub-3
Nov 23, 2026
Merged

MaxHeimbrock merged 1 commit into
mainfrom
max/ci-pin-unity-hub-3

Conversation

@MaxHeimbrock

Copy link
Copy Markdown
Contributor

Background

The Build (StandaloneOSX, 6000.0.49f1) job fails on every run since Homebrew's unity-hub cask moved to the native Hub 4.0.x (4.0.0 on Nov 13, 4.0.1 on Nov 16). game-ci/unity-builder@v4 installs Hub via brew install unity-hub and then the editor via Unity Hub -- --headless install, which Hub 4 no longer supports:

'install' is not supported by the native Unity Hub.
Use the standalone Unity CLI instead: unity install

Example failure: https://github.com/livekit/client-sdk-unity/actions/runs/44615776571/job/136212245975

Changes

  • Install Unity Hub 3.22.6 from Unity's versioned CDN URL before the Build step. unity-builder skips its own Hub install when /Applications/Unity Hub.app already exists, so it falls back to the working headless install.
  • Enable cacheUnityInstallationOnMac so later runs restore the editor from cache instead of reinstalling it.

Remove the pin once game-ci/unity-builder installs via the standalone unity CLI.

🤖 Generated with Claude Code

Homebrew's unity-hub cask moved to the native Hub 4.0.x, which removed
'--headless install' used by game-ci/unity-builder@v4, so the
StandaloneOSX build fails before Unity is installed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@MaxHeimbrock MaxHeimbrock added the internal for PRs that don't need a changeset label Nov 20, 2026

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@MaxHeimbrock
MaxHeimbrock merged commit 46d42dc into main Nov 23, 2026
14 checks passed
@MaxHeimbrock
MaxHeimbrock deleted the max/ci-pin-unity-hub-3 branch November 23, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal for PRs that don't need a changeset

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants