Search Issue Tracker

Fixed in 2018.1.X

Fixed in 2017.1.X, 2017.2.X, 2017.3.X

Not Reproducible in 5.5.X, 5.6.X

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

    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.