Hi guys,
working on my project I found a serious and annoying bug in WWWForm,
If you are interested check it here:
Please vote it for ask unity team to fix it asap because is there not a good workaround.
Thanks!
Kenshin
Hi guys,
working on my project I found a serious and annoying bug in WWWForm,
If you are interested check it here:
Please vote it for ask unity team to fix it asap because is there not a good workaround.
Thanks!
Kenshin
edit: n/m, headers is read only.
AddField() should do what you need.
@zombiegorilla thanks for your answer.
Request headers are writable, here you can understand more about the problem:
For that reason this bug was added by unity3d team.
That’s a bummer. And before Graham ask again about use cases, how about leaderboards maintaining by yourself? Parts:
I know this is a real use case since I’ve done such thing myself (for my own game, in the dark ages of tools like MMF2, way before Unity or even Web 2.0 came around).
WWW and WWWForm have some unfortunate cases. Thankfully, Unity is working on a replacement called WebRequest. It is available in Unity 5.2 as experimental feature.
@Dantus
Thanks for the info.
I have asked to Untiy team if WebRequest will fix the bug previously reported:
Meanwhile any vote here is very appreciated!
Unity 5.2 is out …yeah! ![]()
…where is my “WebRequest” class???
It is in this namespace:
UnityEngine.Experimental.Networking
oh… thanks a lot @Dantus ! ![]()