Search Issue Tracker
Fixed in 2018.1.X
Fixed in 2017.1.X, 2017.2.X, 2017.3.X
Votes
0
Found in
2017.1.0p5
Issue ID
949418
Regression
Yes
WWW.responseHeaders causes NullReferenceException after reading a local file
Steps to reproduce:
1.Open attached “wwwheaders.zip" Unity project
2.Open “main” scene
3.Enter Play mode
4.Press “Load Local File” button in Game view
Expected results:
WWW.responseHeaders are printed in Console
Actual results:
NullReferenceException error appears
Reproduced in: 2017.3.0b5, 2017.2.0f3, 2017.1.2p1, 2017.1.0b1
Didn’t reproduce in: 2017.1.0a6
Regression introduced in: 2017.1.0b1
Error:
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.WWW.get_responseHeaders () (at /Users/builduser/buildslave/unity/build/Runtime/WebRequestWWW/UWRWWW.cs:158)
TestLocalLoading+<LoadLocalFile>c__Iterator0.MoveNext () (at Assets/Scripts/TestLocalLoading.cs:20)
UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) (at /Users/builduser/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)
----------------
Fixed in: 2017.1.2p4, 2017.2.0p3, 2017.3.0b10
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ScrollView clips content when under an ancestor that has a filter set
- "Retrieving array element that was out of bounds" error thrown when attempting to remove a column from a Multi-Column List View
- Multi-Column List View horizontal scroll resets to left most position when scrolling vertically
- Floating License is lost for concurrent jobs
- Warning "Failed to insert item" is logged when Assigning Project to Organization's Project in the Project Settings
Add comment