www problem

ok so i have a www set to download a file’s text and make it into a Debug.Log (for debug)
then it says:

SecurityException: No valid crossdomain policy available to allow access
UnityEngine.WWW.get_text () (at C:/BuildAgent/work/b0bcff80449a48aa/Runtime/ExportGenerated/Editor/Utils.cs:87)
mods+$Start$21+$.MoveNext () (at Assets/Scripts/mods.js:36)

full code is in here: http://pastebin.com/w0VYJvKc

See Unity manual: Security Sandbox of the Web Player, section “Implications for usage of the WWW class”. This is a security feature in the web player, intended as a barrier to CSRF attacks and the like. Flash has a very similar feature.

You can find plenty of threads dealing with this if you search terms like “unity crossdomain xml”. Here are two examples.