Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.3.X, 2020.1.X
Votes
8
Found in
2019.3.0b4
2019.3.0f6
2020.1
2020.2
Issue ID
1219335
Regression
Yes
[macOS] "DllNotFoundException: libMonoPosixHelper.dylib" error is thrown in Build when using System.IO.Compression.DeflateStream
How to reproduce:
1. Open the attached project
2. Go to the Build Settings (File->Build Settings)
3. Enable the Development Build option
4. Press the "Build And Run" button
5. In Build, observe the Console Window
Expected result: No errors are thrown
Actual result: "DllNotFoundException" error is thrown
Reproducible with: 2019.3.0b4, 2019.3.3f1, 2020.1.0a25, 2020.2.0a1
Not reproducible with: 2017.4.37f1, 2018.4.18f1, 2019.3.0b3
Note: Error isn't thrown on Windows
Comments (3)
-
jesusluvsyooh
Aug 15, 2025 18:34
This issue is back, libMonoPosixHelper.dylib is included, but the codes looking for it in wrong location. (regarding using System.IO.Compression; and DeflateStream)
Root/libMonoPosixHelper.dylib (included, but says cannot be found)
Root/Data/Managed/libMonoPosixHelper.dylib (copy it here, now it can be found)Dedicated Server build, happens on Unity 2022, and 6000.
-
alesrazym
Mar 16, 2020 06:13
Have the same issue in 2019.3.5f1
-
german_g
Mar 13, 2020 21:43
"Development build" option is not necessary to reproduce.
Selecting compression methods other then default - doesn't solve the issue.
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
- “Audio Random Container” allows adding unlimited number in “Audio Clips” numeric field, causing Editor to freeze
- In Deferred rendering path, mixed lights don't render when enabling "Use Rendering Layers" in the Decal renderer feature
- [Windows] Special characters in file names are sorted to the end of the alphabet in the Project window
- Information box icons are not contained within the information box bounds in Render Pipeline Converter window
- Crash on UnityEngine.UI.RawImage:OnPopulateMesh when playing Raw Image Texture animation with Sprite keyframes
Resolution Note (fix version 2020.2):
Fixed in Unity 2020.2.0a8
Resolution Note (fix version 2020.1):
Fixed in Unity 2020.1.0b8
Resolution Note (fix version 2019.3):
Fixed in Unity 2019.3.14f1