Skip to content

fix(mac): UnityLicensingClient path for Unity 6000.3+, port return-floating - #196

Merged
frostebite merged 1 commit into
mainfrom
fix/macos-6000.3-licensing-client-path
Aug 27, 2026
Merged

frostebite merged 1 commit into
mainfrom
fix/macos-6000.3-licensing-client-path

Conversation

@frostebite

Copy link
Copy Markdown
Member

Summary

Ports game-ci/unity-builder#842 (community contribution by @alexis-gervacio): Unity 6000.3+ moved UnityLicensingClient from `Contents/Frameworks` to `Contents/Helpers` (Unity docs). A hardcoded Frameworks path failed with exit 127 ("No such file or directory") on every 6000.3+ mac build using a license server. Both scripts now detect the version and pick the right subdirectory.

Also fixes a gap found while porting this: `return_license.sh` had no `UNITY_LICENSING_SERVER` branch at all - `activate.sh`'s own branch acquires a floating license via UnityLicensingClient, but with no matching return step, that license seat was never released back to the server after a single mac floating-license build. unity-builder's own `return_license.sh` has this branch; this repo's copy was missing it entirely.

Since unity-builder is now a thin wrapper around this CLI (game-ci/unity-builder#844), engine-specific fixes like this belong here instead - unity-builder#842 is being closed in favor of this PR.

Test plan

  • `bash scripts/validate-platform-scripts.sh` passes
  • Verified the version regex against 6000.2.5f1 (Frameworks), 6000.3.5f2/6000.10.1f1 (Helpers), and older non-6000 versions (Frameworks)
  • CI green

…oating

Ports game-ci/unity-builder#842 (community contribution by
alexis-gervacio): Unity 6000.3+ moved UnityLicensingClient from
Contents/Frameworks to Contents/Helpers
(https://docs.unity.com/en-us/licensing-server/client-config). A
hardcoded Frameworks path 127'd ("No such file or directory") on every
6000.3+ mac build using a license server. Both scripts now detect the
version and pick the right subdirectory.

Also fixes a gap found while porting this: return_license.sh had no
UNITY_LICENSING_SERVER branch at all - activate.sh's own
UNITY_LICENSING_SERVER branch acquires a floating license via
UnityLicensingClient, but with no matching return step, that license
seat was never released back to the server after a single mac
floating-license build. unity-builder's own return_license.sh has this
branch; this repo's copy was missing it entirely.

Since unity-builder is now a thin wrapper around this CLI
(game-ci/unity-builder#844), engine-specific fixes like this belong
here instead - unity-builder#842 is being closed in favor of this PR.
@coderabbitai

coderabbitai Bot commented Aug 27, 2026

Copy link
Copy Markdown

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (2)
  • dist/platforms/mac/steps/activate.sh is excluded by !**/dist/**
  • dist/platforms/mac/steps/return_license.sh is excluded by !**/dist/**

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 72a0de21-e636-439b-ae65-f379398ef4ff

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@frostebite
frostebite merged commit 93aeef8 into main Aug 27, 2026
15 checks passed
@frostebite
frostebite deleted the fix/macos-6000.3-licensing-client-path branch August 27, 2026 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant