- Home /
No valid crossdomain policy available to allow access
Hi all,
SecurityException: No valid crossdomain policy available to allow access
i get the error shown above whenever i try to make a www call to save player score on my server, i googled it and found that i have to create a crossdomain.xml and place it in the follder where the leaderboard scripts are saved, i did that but i m still getting the same error .Hers is my cross domain.xml
<?xml version="1.0" encoding="us-ascii" ?>
<cross-domain-policy>
<allow-access-from domain="*"/>
</cross-domain-policy>
even after doing this i m still getting the same error.
i can acces the file fine through a browser i even saved it with utf8 format but still no success.
NOTE : When i moved the html file and unity 3d file on the same path as that of leader board scripts it runs perfectly but that doesn't seem to me like a fair enough solution.
thanks,
Answer by Graham-Dunnett · Aug 17, 2012 at 12:09 PM
http://docs.unity3d.com/Documentation/Manual/SecuritySandbox.html
Note that the documentation says the file needs to be in ASCII format, not UTF8.
Your answer
Follow this Question
Related Questions
Unity can't find crossdomain.xml in my 000webhost. 1 Answer
Crossdomain policy issues since Unity4? 0 Answers
A node in a childnode? 1 Answer