Builds for MacOS broken for (at least) version 2021.2.*
See original GitHub issueBug 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:
- Created 2 years ago
- Reactions:1
- Comments:9 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jsm174 Here is where the linux images are created: https://github.com/game-ci/docker/blob/main/images/ubuntu/editor/Dockerfile
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:
@webbertakken, I can create a PR with this fix. Can you point me to where the Docker images are created?