Search Issue Tracker
Fixed in 5.4.2
Votes
6
Found in
5.3.5f1
Issue ID
814388
Regression
No
[iOS] UnityWebRequest.Post calls fail on iOS
Steps to reproduce:
1) Open the latest attached project.
2) Open 'test' scene, build and deploy to a device.
3) Press the 'Send GET Request' UI button.
- Some text is returned by the web request - call successful.
4) Press the 'Send Post Request (1)' UI button.
An error message appears:
<html><title>Error 400 (Bad Request)!!1</title></html>
<ExecuteRequest>c__Iterator0:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
Reproduces with Mono2x and IL2cpp.
Comments (4)
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
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
- ScalableBufferManager does not work correctly when MSAA and RenderGraph Compatability are enabled
- Sprite artefacts appear when Sprite Packer is enabled
- Crash on ResizeScriptingList<ScriptingObjectPtr> when passing an undeclared variable to the results parameter for GameObject.FindGameObjectsWithTag
shubhamswaraj2021
Aug 18, 2020 11:26
good one <a href="https://www.lyricsauto.com">lyricsauto</a>
Novack
Sep 01, 2016 15:09
I correct myself, there is no possibility to make POST requests in Android, as legacy WWW class wont follow redirects properly, nor return the response headers properly (LOCATION header is droped).
grimmy
Aug 26, 2016 11:06
I'm desperate for a fix on this at my end. It means I can't access my database on Android OR iOS at all and is severely hindering development. Please crank up the severity ;) Thanks
Novack
Aug 09, 2016 13:56
The happens on Android as well.
Temporary fix for iOS described here:
http://forum.unity3d.com/threads/released-google-sheets-for-unity-2-0.231856/page-5#post-2730452
For Android, for the time being the only known solution is to backport UnityWebRequest calls to legacy WWW class.