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

Mono

-

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)

  1. bestpresents

    Jun 27, 2020 13:38

    https://bestpresents.guide/best/beard-trimmers/ Best Beard Trimmers & Barbers with multiple professional ratings and reviews

    We have not tested every product and for a comprehensive overview of the top beard trimmers, check out the list below:

    This post was last updated by our friends at TheOd

  2. stomy333

    Jun 12, 2020 11:45

    In the present society, numerous mothers additionally need to come back to work, now and again not long after birth. This keeps numerous mothers from breastfeeding their kids and many will go to bottle taking care of recipe. View <a href="https://www.marketwatch.com/press-release/enhance-the-arcade-gaming-experience-with-cocktails-arcade-machines-2020-06-07">my website</a>.

  3. stomy333

    Mar 22, 2020 07:49

    After change solidarity manufacture settings to IL2cpp, this exemption vanishes. The main issue is that, I need to utilize stream approach to decompress the document in the gushing Assets , yet this is the solidarity's concern. So I stress over the memory usage. <a href="https://www.minds.com/ferby/blog/monstershop-cocktail-table-retro-arcade-games-machine-2-play-1039855612540616704">View More</a>

  4. 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\

  5. 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

  6. 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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.