I understand the crossdomain.xml issues while running from a webserver but why do I get a crossdomain error when I try to run my test file in unity? The file running in unity is connecting (via WWW) to a localhost server which has a crossdomain.xml file at the webroot. Do I have to copy my crossdomain.xml somewhere in my unity project as well?
In the editor the webplayer security is active if you have the target build set to webplayer, in this case you will also need the crossdomain.xml in the local webroot.
turns out I needed to set the WWW Security Emulation settings in the Editor to my localhost website.