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
- Incorrect vehicle rotation when using ForceMode.VelocityChange
- [Linux] Dropdown Menus are filled with empty entries when the Menu intersects with the Editors borders
- [HDRP] [Metal] Tiled artefacts when using DRS
- [HDRP] Empty template starts with incorrect Physically Based Sky ground
- Big chunk of "Untracked" memory in the Memory Profiler screenshot when a custom .obj file is loaded while in Play Mode
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).