Search Issue Tracker
Fixed in 2019.2.X
Fixed in 2018.3.X, 2019.1.X
Votes
10
Found in
2018.1.2f1
Issue ID
1045644
Regression
No
[Android] DllNotFoundException: MonoPosixHelper
Steps to reproduce:
1. Open user attached project
2. Build and run on a device
3. Press 'DecompressAndDeflate'
4. Wait until uncompressed size: 0 is shown
5. Inspect logcat
Reproduced on: 2017.4.5f1, 2018.1.5f1, 2018.2.0b8, 2018.3.0a1
Not reproduced on: iOS or IL2CPP builds
Unable to lookup library path for 'MonoPosixHelper', native render plugin support disabled.
Unable to find MonoPosixHelper
DllNotFoundException: MonoPosixHelper
at (wrapper managed-to-native) System.IO.Compression.DeflateStreamNative.CreateZStream(System.IO.Compression.CompressionMode,bool,System.IO.Compression.DeflateStreamNative/UnmanagedReadOrWrite,intptr)
at System.IO.Compression.DeflateStreamNative.Create (System.IO.Stream compressedStream, System.IO.Compression.CompressionMode mode, System.Boolean gzip) [0x0004a] in <343bdfbb3c2d4d21b745a87548c1a7cd>:0
at System.IO.Compression.DeflateStream..ctor (System.IO.Stream compressedStream, System.IO.Compression.CompressionMode mode, System.Boolean leaveOpen, System.Boolean gzip) [0x0002d] in <343bdfbb3c2d4d21b745a87548c1a7cd>:0
at System.IO.Compression.DeflateStream..ctor (System.IO.Stream stream, System.IO.Compression.CompressionMode mode) [0x00000] in <343bdfbb3c2d4d21b745a87548c1a7cd>:0
at (wrapper remoting-invoke-with-check) System.IO.Compression.DeflateStream..ctor(System.IO.Stream,System.IO.Compression.CompressionMode)
at Decompress+<DecompressWithDeflate>c__I
Comments (6)
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
- ”Last item reached” warning is thrown when no search results are found in UI Toolkit Layout Debugger
- UI Elements overlap in the Shortcuts window when docked and resized to a smaller window size
- UIBuilder DataSourcePath dropdown fails to show properties when binding to abstract classes
- Errors are logged when importing an asset at a path with Firebase
- Entering too big of a number in 2D Renderer Lightmode Tags freezes the Editor
Echin
Feb 01, 2019 17:10
También se reproduce en la Unidad 2018.2.14f1 cuando se utiliza Serial Port en Compilacion de Android
02-01 13:56:15.312: D/Unity(24895): Unable to lookup library path for 'MonoPosixHelper', native render plugin support disabled.
02-01 13:56:15.312: E/Unity(24895): Unable to find MonoPosixHelper
02-01 13:56:15.492: I/Unity(24895): System.DllNotFoundException: MonoPosixHelper
02-01 13:56:15.492: I/Unity(24895): at (wrapper managed-to-native) System.IO.Ports.SerialPortStream.open_serial(string)
02-01 13:56:15.492: I/Unity(24895): at System.IO.Ports.SerialPortStream..ctor (System.String portName, System.Int32 baudRate, System.Int32 dataBits, System.IO.Ports.Parity parity, System.IO.Ports.StopBits stopBits, System.Boolean dtrEnable, System.Boolean rtsEnable, System.IO.Ports.Handshake handshake, System.Int32 readTimeout, System.Int32 writeTimeout, System.Int32 readBufferSize, System.Int32 writeBufferSize) [0x00006] in <3acaa45225a54f778710ee6eff26f77f>:0
02-01 13:56:15.492: I/Unity(24895): at (wrapper remoting-invoke-with-check) System.IO.Ports.SerialPortStream..ctor(string,int,int,System.IO.Ports.Parity,System.IO.Ports.StopBits,bool,bool,System.IO.Ports.Handshake,int,int,int,int)
02-01 13:56:15.492: I/Unity(24895): at System.IO.Ports.SerialPort.Open () [0x0006f] in <3acaa45225a54f778710ee6eff26f77f>:0
02-01 13:56:15.492: I/Unity(24895): at (wrapper remoting-invoke-with-check) System.IO.Ports.SerialPort.Open()
02-01 13:56:15.492: I/Unity(24895): at SerialCommunication.OpenConnection () [0x00054] in C:\Users\Cristian\Documents\Turoriales\
02-01 13:56:15.492: I/Unity(24895): System.DllNotFoundException: MonoPosixHelper
02-01 13:56:15.492: I/Unity(24895): at (wrapper managed-to-native) System.IO.Ports.SerialPortStream.open_serial(string)
02-01 13:56:15.492: I/Unity(24895): at System.IO.Ports.SerialPortStream..ctor (System.String portName, System.Int32 baudRate, System.Int32 dataBits, System.IO.Ports.Parity parity, System.IO.Ports.StopBits stopBits, System.Boolean dtrEnable, System.Boolean rtsEnable, System.IO.Ports.Handshake handshake, System.Int32 readTimeout, System.Int32 writeTimeout, System.Int32 readBufferSize, System.Int32 writeBufferSize) [0x00006] in <3acaa45225a54f778710ee6eff26f77f>:0
02-01 13:56:15.492: I/Unity(24895): at (wrapper remoting-invoke-with-check) System.IO.Ports.SerialPortStream..ctor(string,int,int,System.IO.Ports.Parity,System.IO.Ports.StopBits,bool,bool,System.IO.Ports.Handshake,int,int,int,int)
02-01 13:56:15.492: I/Unity(24895): at System.IO.Ports.SerialPort.Open () [0x0006f] in <3acaa45225a54f778710ee6eff26f77f>:0
02-01 13:56:15.492: I/Unity(24895): at (wrapper remoting-invoke-with-check) System.IO.Ports.SerialPort.Open()
02-01 13:56:15.492: I/Unity(24895): at SerialCommunication.OpenConnection () [0x00081] in C:\Users\Cristian\Documents\Turoriales\
palex-nx
Oct 08, 2018 10:31
Also reproduced in 2018.2.11f1 in android build when reading from StreamingAssets with using UnityWebRequest:
10-08 13:21:46.628 9162 9178 E Unity : Unable to find MonoPosixHelper
10-08 13:21:46.743 9162 9178 E Unity : DllNotFoundException: MonoPosixHelper
10-08 13:21:46.743 9162 9178 E Unity : at (wrapper managed-to-native) System.IO.Compression.DeflateStreamNative.CreateZStream(System.IO.Compression.CompressionMode,bool,System.IO.Compression.DeflateStreamNative/UnmanagedReadOrWrite,intptr)
10-08 13:21:46.743 9162 9178 E Unity : at System.IO.Compression.DeflateStreamNative.Create (System.IO.Stream compressedStream, System.IO.Compression.CompressionMode mode, System.Boolean gzip) [0x0004a] in <93cc5a601cf645d2a15a96c4600351ac>:0
10-08 13:21:46.743 9162 9178 E Unity : at System.IO.Compression.DeflateStream..ctor (System.IO.Stream compressedStream, System.IO.Compression.CompressionMode mode, System.Boolean leaveOpen, System.Boolean gzip) [0x0002d] in <93cc5a601cf645d2a15a96c4600351ac>:0
10-08 13:21:46.743 9162 9178 E Unity : at System.IO.Compression.DeflateStream..ctor (System.IO.Stream stream, System.IO.Compression.CompressionMode mode, System.Boolean leaveOpen, System.Int32 windowsBits) [0x00000] in <93cc5a601cf645d2a15a96c4600351ac>:0
MapMan
Jul 18, 2018 12:26
Also reproduced in Unity 2018.2.0f2 when using HttpClient with decompression:
System.Net.Http.HttpRequestException: An error occurred while sending the request ---> System.Net.WebException: MonoPosixHelper ---> System.DllNotFoundException: MonoPosixHelper
at (wrapper managed-to-native) System.IO.Compression.DeflateStreamNative.CreateZStream(System.IO.Compression.CompressionMode,bool,System.IO.Compression.DeflateStreamNative/UnmanagedReadOrWrite,intptr)
at System.IO.Compression.DeflateStreamNative.Create (System.IO.Stream compressedStream, System.IO.Compression.CompressionMode mode, System.Boolean gzip) [0x0004a] in <be37d3da906e49e79609da320d176fbf>:0
at System.IO.Compression.DeflateStream..ctor (System.IO.Stream compressedStream, System.IO.Compression.CompressionMode mode, System.Boolean leaveOpen, System.Boolean gzip) [0x0002d] in <be37d3da906e49e79609da320d176fbf>:0
at System.IO.Compression.DeflateStream..ctor (System.IO.Stream stream, System.IO.Compression.CompressionMode mode, System.Boolean leaveOpen, System.Int32 windowsBits) [0x00000] in <be37d3da906e49e79609da320d176fbf>:0
at (wrapper remoting-invoke-with-check) System.IO.Compression.DeflateStream..ctor(System.IO.Stream,System.IO.Compression.CompressionMode,bool,int)
at System.IO.Compression.GZipStream..ctor (System.IO.Stream stream, System.IO.Compression.CompressionMode mode, System.Boolean leaveOpen) [0x00006] in <be37d3da906e49e79609da320d176fbf>:0
at System.IO.Compression.GZipStream..ctor (System.IO.Stream stream, System.IO.Compression.CompressionMode mode) [0x00000] in <be37d3da906e49e79609da320d176fbf>:0
at (wrapper remoting-invoke-with-check) System.IO.Compression.GZipStream..ctor(System.IO.Stream,System.IO.Compression.CompressionMode)
at System.Net.HttpWebResponse..ctor (System.Uri uri, System.String method, System.Net.WebConnectionData data, System.Net.CookieContainer container) [0x000d3] in <be37d3da906e49e79609da320d176fbf>:0
at (wrapper remoting-invoke-with-check) System.Net.HttpWebResponse..ctor(System.Uri,string,System.Net.WebConnectionData,System.Net.CookieContainer)
at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00033] in <be37d3da906e49e79609da320d176fbf>:0