- Home /
How to get game in Dropbox to pull data from 000WebHost?
I have my WebPlayer Unity game up and running in my Public folder in Dropbox. But I keep getting errors when I try to have it pull/post data from my MySQL database on 000WebHost. I've followed the guidelines for setting up the WWWForm (as a Java script in Unity), SQL Database (on 000WebHost), and Perl Script (in public_html folder on 000WebHost) on Unity's site. I've also set up the crossdomain.xml file as specified by Unity in my 000WebHost public_html folder. Right now the error that I'm getting is: "Rejected because no crossdomain.xml policy file was found." What I want to do is host my game for free and have it connect via WWWForms to a database that is also hosted for free online. I've scoured the internet for a tutorial on how to do this or for a solution to my error. Can anyone share a link to a tutorial on how to do this or tell me what I'm doing wrong with the system I'm trying to use right now? Thanks!
Answer by APProjects · Mar 06, 2014 at 03:27 PM
Old question but unanswered. I had exactly the same problem until this day. It didn't work from Dropbox's HTTPS protocol with 000webhost's HTTP. Also, Facebook uses HTTPS and I tried to upload my game on Facebook, it didn't work on canvas, same crossdomain rejection.
I had to edit the crossdomain.xml file.
Here is the content of mine:
<cross-domain-policy>
<allow-access-from domain="*" secure="false" />
</cross-domain-policy>
It did its job works perfectly!
Your answer
Follow this Question
Related Questions
What Method is better for Creating a Guild 1 Answer
Not getting debug.log errors from mysql? 0 Answers
Host a webplayer on dropbox 4 Answers
Did Dropbox stopped working as a Unity Web Player? 0 Answers