Skip to content

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

@grascm

Description

@grascm

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbug in unityThis is a bug in unity itself (out of scope)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions