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
- Missing script error when clicking “script” link in Cave scene’s Water Sample Description
- [VFX Graph] Set Position Shape Gizmo isn't refreshed after shaper switch
- NullReferenceException is thrown when trying to access volumeStack from the HDCamera class
- Visual artifacts appear when using an Orthographic camera with a Reflection Probe
- Not all animation properties are accessible when a prefab with an avatar model contains a nested copy of itself with a renamed GameObject
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0b1
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.8f1