question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

Bug description

Build target StandaloneOSX is broken:

2022-01-20T12:42:47.5946800Z *** Tundra build failed (19.30 seconds), 368 items updated, 370 evaluated
2022-01-20T12:42:47.5950193Z Building build/StandaloneOSX/StandaloneOSX.app/Contents/Frameworks/libmono-native.dylib failed with output:
2022-01-20T12:42:47.5951549Z The properties of source file /opt/unity/Editor/Data/PlaybackEngines/MacStandaloneSupport/Variations/macos_x64ARM64_player_nondevelopment_mono/UnityPlayer.app/Contents/Frameworks/libmono-native.dylib could not be retrieved: No such file or directory

How to reproduce

Build any project with targetPlatform set to StandaloneOSX and unity version 2021.2.*

Expected behavior

Build succesfull

Additional details

Required path exists in wrong case: /opt/unity/Editor/Data/PlaybackEngines/MacStandaloneSupport/Variations/macos_x64arm64_player_nondevelopment_mono/

Official unity forums have bug description and workaround: https://forum.unity.com/threads/linux-command-line-build-of-macos-has-wrong-mono-path.1200499/

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
davidmfinolcommented, Feb 26, 2022
1reaction
jsm174commented, Feb 26, 2022

I just ran into this issue as well.

I found a post on the unity forums: https://forum.unity.com/threads/linux-command-line-build-of-macos-has-wrong-mono-path.1200499/

I tried that solution and made a custom image with the following:

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

@webbertakken, I can create a PR with this fix. Can you point me to where the Docker images are created?

Read more comments on GitHub >

github_iconTop Results From Across the Web

[macOS] "build is damaged and cannot be opened" error ...
[macOS] "build is damaged and cannot be opened" error when downloading Unity build from internet. Resolution Note (2021.2. X): The included ...
Read more >
Resolved - Monterey Safari 15.1 broken graphics - Unity Forum
The one for 2021.2.2f1 unable to make a WebGL build that works on Safari 15.1 on MacOS Monterey 12.0.1, but I tried with...
Read more >
Apple Silicon (M1 chip) Support in Rider
Starting from Rider 2021.3 release, Rider runs natively on Apple silicon chips. Choose the ".dmg (Apple Silicon)" item in the Download ...
Read more >
Known Issues - Tableau
When publishing a data source from Tableau Desktop version 2022.2 or higher to ... to Tableau Cloud or when opened in the latest...
Read more >
Find out which macOS your Mac is using - Apple Support
If you need to know the build number as well, click the version number to see it. About This Mac window. Which macOS...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found