Search Issue Tracker

Fixed in 2018.1

Fixed in 2017.1, 2017.2, 2017.3

Not Reproducible in 5.5, 5.6

Votes

0

Found in

2017.1.0p4

Issue ID

949038

Regression

Yes

WWW.responseHeaders object is null if there is no internet connection

WebRequest

-

Steps to reproduce:
1.Open attached 'www.zip' Unity project
2.Disable your internet connection
3.Enter Play mode

Expected results:
No error message appears in Console
Actual results:
NullReferenceException error appears

Reproduced in: 2017.3.0a7, 2017.2.0b11, 2017.1.1p1, 2017.1.0p4, 2017.1.0f1, 2017.1.0b1
Didn’t reproduce in: 2017.1.0a6, 2017.1.0a1, 5.6.3p3, 5.5.4p4
Regression introduced in: 2017.1.0b1

Error message:
NullReferenceException: Object reference not set to an instance of an object
responseHeaders+<Start>c__Iterator0.MoveNext () (at Assets/responseHeaders.cs:13)
UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) (at /Users/builduser/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)

Comments (2)

  1. A22280cd3b4a1ac7c3f45129418035df?d=mm

    Maisey

    Oct 24, 2017 10:39

    When can we expect Patch-release? This is a breaking bug...I don't wanna rely on 2017.3.0b4 which may cause even more issues!

  2. 8df7469bcf2f3c537f8fe89e44f75231?d=mm

    zkw

    Oct 13, 2017 11:10

    For us this also happens with internet connection.

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.