Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2021.2.X

Votes

0

Found in

Issue ID

1379834

Regression

Yes

Server build on OSX crashes when it can't find libmono-native.dylib

Mono

-

Discovered via case 1376434

Same repro steps as the case above but copied below for simplicity:
How to reproduce:
1. Open the user attached project (svrbuild-ctrl-c.zip) -- will need to get this from the referenced case as I was not able to attach the zip due to attach size limits
2. Modify script to contain the following so the PAL layer gets used
void Start()
{
//Console.ForegroundColor = ConsoleColor.Red;

var exists = Directory.Exists("/tmp/ItDoesNotMatterIfItIsThereOrNot") ? "does" : "does not";
Console.WriteLine($"The directory {exists} exist.");
}
2. Press Ctrl+Shift+B to open the "Build Settings" window
3. Make sure "Server Build" is enabled and build the project
4. Open the terminal
5. Navigate to the build directory and run the build from the terminal

Expected result: the build runs
Actual result: the build crashes when it cannot find libmono-native.dylib

Reproducible with: 2021.1.28f1, 2021.2.2f1, 2022.1.0a13

Notes:
1. Reproducible on OSX and probably Linux
2. Not reproducible on Windows 10 (doesn't have a libmono-native to reference)

  1. Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.0b1

  2. Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.8f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.