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

mac-mono: fix x64arm64/x64ARM64 case issue #158

Merged
merged 1 commit into from
Feb 28, 2022

Conversation

jsm174
Copy link
Contributor

@jsm174 jsm174 commented Feb 27, 2022

Changes

This PR fixes not being able to build macos x64 + arm64 builds with ubuntu.

It fixes game-ci/unity-builder#320

This is a bug in Unity, and if/when fixed, this patch should be able to be removed:

https://forum.unity.com/threads/linux-command-line-build-of-macos-has-wrong-mono-path.1200499/

Note, I was able to verify the fix implemented in this PR with a custom docker image:

FROM unityci/editor:2021.2.13f1-mac-mono-0
RUN ln -s /opt/unity/Editor/Data/PlaybackEngines/MacStandaloneSupport/Variations/macos_x64arm64_player_nondevelopment_mono /opt/unity/Editor/Data/PlaybackEngines/MacStandaloneSupport/Variations/macos_x64ARM64_player_nondevelopment_mono

I am not sure how to test this PR using the artifacts from the CI.

Checklist

  • Read the contribution guide and accept the code of conduct
  • Readme (updated or not needed)

@github-actions
Copy link

Cat Gif

Copy link
Member

@webbertakken webbertakken left a comment

Choose a reason for hiding this comment

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

LGTM

@webbertakken
Copy link
Member

Merging this. It will be available once we roll out the next release.

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.

Builds for MacOS broken for (at least) version 2021.2.*
3 participants