- Home /
Unity can't find crossdomain.xml in my 000webhost.
Hello, is there anyone uses 000webhost here for database? I have a test game uploaded at Kongregate, and this game need to access my database at 000webhost, i have a free account. i have uploaded the crossdomain.xml on the public_html folder(i also tried to put one at root folder). But everytime I request data by using WWW, an error returns that crossdomain cannot be found. :(
It seems that my Unity client at Kongregate can't detect the crossdomain.xml file on 000webhost?
Answer by dumytru · Jan 30, 2011 at 07:36 AM
I put the crossdomain.xml ile in public_html and worked well.. only problem i can't sumbit score yet.. you should make sure that you saved file as crossdomain.xml and the code is:
<?xml version="1.0"?>
<cross-domain-policy>
<allow-access-from domain="*"/>
</cross-domain-policy>
there has to be a "" (not ou domain)... but i'm sure you know it the reason i said is , well.. better safe than sorry
This answer helped you?.. I still can't get $$anonymous$$e figured out and I've been doing this all along.
I've been trying this solution as well but still get the same error when my Unity WebPlayer game tries to access my SQL database on 000WebHost. Has anyone found a solution for this?
Your answer
Follow this Question
Related Questions
What to do after setting up crossdomain.xml 1 Answer
No valid crossdomain policy available to allow access 1 Answer
A node in a childnode? 1 Answer
Using JSON to get tree data into JavaScript objects 3 Answers
Loading XML causes game freeze 2 Answers