WWWForm posting error in WebPlayer build, in editor works

Hi,

I’m using WWWForm to send and obtain data.
If the game is running in Unity editor, everything works fine. But when I make a build (Web Player Streamed) and play it in browser, everytime I get WWW error "Failed downloading ".

I can point out these things:

  • request don’t arrive to server (if played in editor, arrives), url doesn’t matter
  • tried in Firefox and Chrome, on 2 PCs(installed the same Unity version), no proxy, no firewall

Unity v2.6.1f3 (31223)
Player v2.6.1.31223

WWWForm form = new WWWForm();
form.AddField("UploadData", "Some data");
WWW www = new WWW("http://www.mydomain.com/Default.aspx", form);

// In GUI loop ---
if(form.isDone)
   debugText = [url]www.error;[/url]

Hope you can help, thanks

WWW in the webplayer has to comply to the browsers requirements. while the editor and standalone use mono

Thank you, ok now I understand the different behaviour.
But have you any idea how to get it work? I think I use the WWW precisely in way how it is designed to work…

Thanks

Is there anything else going on in the webpage that might affect the Unity player? Other content, JavaScript, etc?

Nothing :frowning: , I’m using the generated html page. I even made entire new project with only the problem implemented, and tried it on two computers with different browsers, like I sad.

Can you post the whole script?