Search Issue Tracker

Fixed in 2018.1

Fixed in 5.6, 2017.1, 2017.2, 2017.3

Votes

34

Found in

5.6.3p4

Issue ID

956599

Regression

Yes

UnityWebRequest GetResponseHeaders method returns null on Android devices

WebRequest

-

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 (9)

  1. 67ca0e500374e3ff557dfbb672c572d1?d=mm

    abolfazlk0

    Jul 24, 2019 05:51

    Great post. A debt of gratitude is in order for imparting to us. I simply cherished your method for introduction. https://tikban.com/بلیط-هواپیما-رشت And https://tikban.com/بلیط-هواپیما-ساری And https://tikban.com/بلیط-هواپیما-گرگان And https://tikban.com/بلیط-هواپیما-سنندج And https://tikban.com/بلیط-هواپیما-دزفول I appreciated perusing this .Thanks for sharing and continue composing. It is great to peruse web journals like this. As always, we welcome yourself confirmation and acknowledge as valid inside us.

  2. 19bcab4c25eb264b21619cd7a8a15481?d=mm

    guneyozsan

    Oct 19, 2018 19:21

    WebGL builds on 2018.2.11f1 have the same issue and GetResponseHeaders returns null. Can it be an IL2CPP issue?

  3. E819b483c5050eef5882c252cbf65ca9?d=mm

    Don_K

    Aug 09, 2018 08:32

    When using with Unity 2018.1.8f1 and building an APK for Android with IL2CPP,
    There is still a similar problem in Galaxy Note 2 of Android 4.3.

  4. 83fbe5a9b173d87945c62a738bcd2480?d=mm

    simonmeijer

    Mar 26, 2018 09:29

    This issue is bug is also present in Unity 2017.31f1 in the editor, iOS and Android devices.

  5. B4d334ef87b693c599adeac22fa40384?d=mm

    polytropoi

    Nov 11, 2017 17:46

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

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

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

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

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

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.