Search Issue Tracker

Duplicate

Votes

9

Found in

5.5.1p3

Issue ID

882200

Regression

Yes

[WebGL] ZLib library locks up in Ionic.Zlib.ZlibStream.UncompressBuffer

WebGL

-

To reproduce:
1) Open attached project
2) Build and run for WebGL
3) Click 'DO' button

Player freezes indefinitely
Does not happen in other platforms (tested WinStandalone and Android IL2CPP)

Reproduced in 5.5.1p3, 5.6.0b8
Not reproduced in 5.4.3p4

Comments (5)

  1. sergey-pozdnukhov

    Apr 21, 2017 09:19

    Same for me in 5.6.0p1

  2. bigramx

    Mar 14, 2017 09:17

    The same...

  3. Evgeny-Eliseev

    Mar 14, 2017 09:12

    +1

    5.5.2p1 - Still not works
    5.4.5 - Still works

    I need exactly ZlibStream, which is not in System.IO.Compression

  4. Soraphis

    Mar 06, 2017 20:59

    this happens just when decompressing, as workaround you should be able to use this:

    string savefile = "";
    using (var decompressor = new System.IO.Compression.GZipStream(new MemoryStream(bytes), CompressionMode.Decompress)) {
    using (var sr = new StreamReader(decompressor)) {
    savefile = sr.ReadToEnd();
    }
    }

    or something similar

  5. Soraphis

    Mar 06, 2017 20:41

    Same for me in 5.5.0f3

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.