I have managed to make a call only like this: I build a project, move it to my localhost (http://localhost/unity/test/WebPlayer.html), and from there make a call, and it works remotely, my online(or offline) files are updated when I make a call, but I can`t make it work from within unity3d editor.
Thanks in advance,
EDIT: When I set a default build as "standalone", I can communicate with server through unity editor.
Have you configured the WWW Security Emulation settings in the Editor?
My understanding is that the Editor will attempt to emulate the security restrictions imposed on the web player.
If you go here:
You can then specifiy the URL where your game will be hosted in the Inspector.
This will allow the Editor to simulate the security restrictions that will be imposed on your game if you publish it to that address.
This does not explain why you wouldn't be able to access a php script running on the same host as a published game.
It's possible that the Unity Editor is being blocked by your computer's firewall. Check the firewall configuration to make sure there's an exception for it.
answered Aug 06 '11 at 05:46 PM