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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
This is a duplicate of issue #981192