Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2019.4.X, 2020.3.X, 2021.1.X

Planned for 2021.2.X



Found in

Issue ID




UnityWebRequest fails on Windows if gzip compression is used



Issue started after upgrade to libcurl 7.75.
Unity never had support for compression on Windows, but it was possible to work it around by decompressing received data manually (was annoying, since on most other platforms decompression was automatic). The newer version of libcurl rejects unsupported encodings, as a result web request fails immediately if gzip compression is requested and results in failure if server disregards headers and send gzip compressed data.

The libcurl upgrade was done in 2020.3 and later, backport to 2019.4 was blocked due to this issue.

Comments (5)

  1. 742764b372c989acf829084ffddb4c0f?d=mm


    Aug 04, 2021 02:02

    Can confirm that this is NOT fixed in 2021.1.16

  2. B41b5e3cb65c31cb0bacd8c721b16ed0?d=mm


    Aug 02, 2021 20:17

    This is not fixed is 2020.3.14f1 or 2020.3.15f2

  3. 4aff79eb705e0b010d2de469d0d332ea?d=mm


    Aug 02, 2021 07:47

    Fixed in 2020.3.x ? Which version exactly ? Tested 2020.3.14 and the issue was not resolved

  4. 742764b372c989acf829084ffddb4c0f?d=mm


    Jul 30, 2021 19:41

    I'm using Unity 2021.1.x and developing for Android and iOS.
    The biggest issue for me is that this error happens in the editor even though I am not building for Windows platform.

  5. 48d9e1e793fdcc7405a055f7bde9a34e?d=mm


    Jun 24, 2021 03:49

    This issue affects the usability of many third-party SDKs such as Mapbox Maps SDK for Unity that use UnityWebRequest in Unity 2020.3+ with gzip-enabled servers.

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.