Search Issue Tracker

Fixed in future release

Votes

34

Found in

5.6.3p4

Issue ID

956599

Regression

Yes

UnityWebRequest GetResponseHeaders method returns null on Android devices

WebRequest

-

-

Priority: 7Not yet prioritized for a release

-

Severity: 3Workaround is possible

Reproduction steps:
1) Download and open user's attached project
2) Build and run test.unity scene on an Android device
3) Observe logcat
-- Notice that GetResponseHeaders() "response header is null" is being printed

Reproduced with:
5.6.3p4, 5.6.4f1, 2017.1.2f1, 2017.2.0f3, 2017.3.0b4
Unable to reproduce with:
5.6.3p3, 5.5.5f1
Regression appeared in 5.6.3p4

Reproduced with:
LG G4, Android 6.0
Huawei P9, Android 7.0
Samsung Galaxy S8, Android 8.0

Comments (5)

  1. B4d334ef87b693c599adeac22fa40384?d=mm

    polytropoi

    Nov 11, 2017 17:46

    this bug breaks everything for me, when can we expect a release with a fix?

  2. 4d5c10a71500310cdd158c1ff0cd3801?d=mm

    zbarryte-luminopia

    Nov 09, 2017 22:31

    I'm also experiencing this issue. This issue is blocking my team from upgrading our product to use Unity 2017, which would give us great benefits in other areas; however, because of this issue, I cannot recommend Unity 2017 to the team.

  3. 74fb717f735eddff5d5a4a0a8bddef92?d=mm

    RichLogan

    Nov 08, 2017 10:46

    Interestingly, GetResponseHeaders also seems to return null on PC standalone builds when there is no response body (like when the request method is HEAD). Worked fine in 5.5.3, broken after upgrade to 2017.2.0f3.

  4. F426edb16a4c4f2e7a2f79ce19051293?d=mm

    curi1119

    Oct 19, 2017 10:32

    This happens only when I builded on CloudBuild for Android.
    Not happens when I build on my PC.

  5. Ea7ab4b30e95d9a4b647009a0cc35fb3?d=mm

    yurykorzun

    Oct 17, 2017 13:44

    In our case, having "Content-Encoding": "gzip" and "Content-Type":"octet-stream" in request headers resulted in no headers being returned.

All about bugs

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