Hello guys, so I don’t know if anyone’s had this problem before but for me the WebPlayer cannot seem to find the crossdomain.xml file when I run my game through a HTTPS connection instead of just HTTP where it works perfectly.
So when I run through HTTPS, I get the error: Rejected because no crossdoamin.xml policy file was found BUT works perfect finds the crossdomain…xml file when I run it through just HTTP.
Anyone maybe have any idea on how to fix this??? Would really appreciate it! Thanks!
I don’t have a solution for you, but I will tell you how we dealt with this problem.
We’re making a multiplayer game, which involved creating our own server.
Basically sockets IO wouldn’t work without the crossdomain policy, so we’ve added a thread to the server which sends the crossdomain policy on request.
Than we just fetch it using the Unity - Scripting API: Security.PrefetchSocketPolicy function.