Search Issue Tracker
Duplicate
Votes
0
Found in
2017.2.1p1
Issue ID
998423
Regression
Yes
"UnityWebRequest.Get()" throws an "IndexOutOfRangeException" when constructed with an empty string
Reproduction steps:
1. Open "UnityWebRequestTest.zip" project
2. Open "TestScene"
3. Enter Play mode
4. Click on "Send web request: empty"
Expected Result: An error appears saying that the URL is incorrect ("error: Cannot connect to destination host")
Actual Result: "IndexOutOfRangeException" is thrown
Reproduced with: 2018.2.0a1, 2018.1.0b7, 2017.3.1p1, 2017.2.1p4, 2017.1.3p1 (02d73f), 2017.1.3p1 (2cf5ce)
Did not reproduce on: 2017.1.3f1, 2017.1.1f1, 2017.1.0a1, 5.6.5p1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Modifying UI Prefab child's Height only confirms the first 1 or 2 digits when the Scene is newly opened or the Prefab is newly created
- ProfilingSampler.Get() returns null and makes the Player only render black when building a Release Build
- Search text field visual controls for the Path binding in an Input Actions Asset is misaligned
- Display issues in VideoPlayer when using Screen.SetResolution on certain Google Pixel devices
- Crash on Texture::TextureIDMapInsert when opening a specific project
This is a duplicate of issue #981192