I have a Unity 3D game. It connects to a web service, and works great when built as a windows client.
But when I create it as a Web Client, it fails to connect to the web service.
I get this message: " Unable to connect to server, please try again later > [url]"
The graphics still load and display properly in the web client.
The service it is connecting to has the proper cross domain policy file, presumed because the windows client can connect to it.
However, in case that is an issue, here is the file:
<?xml version="1.0"?><!DOCTYPE cross-domain-policy SYSTEM"http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"><cross-domain-policy><site-control permitted-cross-domain-policies="master-only"/><allow-access-from domain="*"/><allow-http-request-headers-from domain="*" headers="*"/></cross-domain-policy>
Is there any reason the web client can't connect?
(I get the same results when running the web client from the same server as the service)