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
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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0b1
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.8f1