Search Issue Tracker

Duplicate

Votes

1

Found in

2019.2.11f1

2019.2.14f1

2019.3.0b9

2020.1.0a8

Issue ID

1202451

Regression

Yes

Editor crashes when invalid data is passed into UnityWebRequestTexture.GetTexture

Networking

-

Steps to reproduce:
1. Open the attached project ("1202451.zip")
2. Open SampleScene
3. Enter Play mode
4. Make sure "Error Pause" is enabled in the Console
5. Enable the "EnableMeToCrash" GameObject

Reproduced with: 2019.2.11f1, 2019.2.16f1, 2019.3.0b9, 2019.3.0f2, 2020.1.0a8, 2020.1.0a15
Not reproducible with: 2017.4.35f1, 2018.4.14f1, 2019.2.10f1, 2019.3.0b8, 2020.1.0a7

Errors before crash:
Curl error 3: <url> malformed
(Filename: C:\buildslave\unity\build\Modules/UnityWebRequest/Implementations/TransportCurl.cpp Line: 796)

  • Assertion at ..\mono\metadata\threads.c:1788, condition `internal' not met

Notes:
- Editor crashes silently on Windows, with Bug Reporter and a stacktrace on Mac
- On versions deemed not reproducible the repro steps only give a "NullReferenceException: Object reference not set to an instance of an object" exception
- Invalid data, in this case, is an empty string ("") or null

Add comment

Log in to post comment