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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0b1
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.8f1