Search Issue Tracker
Fixed in 2020.1.X
Votes
1
Found in
2017.4.0f1
2018.4.0f1
2019.2.0a1
2019.3.0a1
2020.1.0a1
2020.1.0a3
Issue ID
1183281
Regression
No
[iOS] UnityWebRequest sends incorrect Content-Length when uploading data using the GET method
How to reproduce:
1. Open the attached project
2. Open the "SampleScene.unity" scene
3. On WebRequestTest object set "Request API Type" to UWR and "With Data" boolean to true
4. Enter Play mode
5. The request will be successful and you will see google.com output in the console and on the screen in UI
6. Build & Run on iOS
Actual result: Error 400 (Bad Request) is returned because of incorrect Content-Length.
Expected result: The request has to be successful.
Reproducible with: 2020.1.0a4, 2019.3.0b3, 2019.2.5f1, 2018.4.8f1, 2017.4.32f1.
Devices reproducible with:
- iPhone 7 Plus (iOS 12.0)
- iPhone 6S Plus (iOS 10.3.2)
Devices not reproducible with:
- VLNQA00015, Samsung Galaxy Note8 (SM-N950W), Android 8.0.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
--------------------------------
Fixed in 2020.1.0a8.
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
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- [Linux] AutoLocale log is logged when opening a project
Resolution Note (fix version 2020.1):
With the fix sending upload data with GET request is now supported in Editor, Standalones, UWP and Android.
Not supported on iOS (Apple API doesn't support it).