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
- Color property '_BaseColor' missing
- Point Light source stops lighting when moved out of camera frustum in Player while having 2 directional lights in scene present, and a fog enabled by script
- Sky does not get rendered when 'CameraRelativeRendering' is disabled
- Dropdown UI elements have their Content misplaced when nested inside a Prefab containing a root object with a Canvas Component
- “'UnityMetaVertexPosition': implicit truncation of vector type" Shader warning when compilating URP ShaderGraph shaders
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0b1
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.8f1