My team try to make a web based version by using Unnity 3.4x but we failed to connect to our game server as in the picture. What is the solution to connect from a web player to server? we doone pretty fine for client based but not the web player.
in the developement phase (Unity3D editor), we do fine for connecting out of sandbox to policy server (using Socket port:843, then connect to game server later) but in deployment stage, the connection to policy server cannot be reached.
When you build a unity webplayer project, it will (for security reasons, found here) look for an xml file called “crossdomain.xml”. Just make sure there is an xml file present at the location of the webplayer build (on your server) and it allows the right ports and domains.