crossdomain issue

I am not well in English, so excuse me…

Trying to run my game in browser, but without any luck. It constantly freezes. However, when I run game in Editor it is all ok!!
I am try to see the webplayer log, and there are two versions of what happens.

  1. I have server at http://localhost:50736. There is http://localhost:50736/crossdomain.xml.
    When I hosted my game.unity3d in some other host (for example http://game.com/game.html), in log I see the following:

Platform assembly: C:\Users\MaxG\AppData\LocalLow\Unity\WebPlayer\player\Release3.x.x\Data\lib\CrossDomainPolicyParser.dll (this message is harmless)

Determining crossdomain.xml location for request: http://localhost:50736/rpc

About to parse url: http://localhost:50736/rpc

Determining crossdomain.xml location for request: http://localhost:50736/rpc

About to parse url: http://localhost:50736/crossdomain.xml

About to parse url: http://localhost:50736/rpc

Determining crossdomain.xml location for request: http://localhost:50736/rpc

About to parse url: http://localhost:50736/rpc

Determining crossdomain.xml location for request: http://localhost:50736/rpc

About to parse url: http://localhost:50736/rpc

Determining crossdomain.xml location for request: http://localhost:50736/rpc

and so on.

  1. When game.unity3d hosted at http://localhost:50736/game.html there no need to check crossdomain.xml. In log I see:

Platform assembly: C:\Users\MaxG\AppData\LocalLow\Unity\WebPlayer\player\Release3.x.x\Data\lib\CrossDomainPolicyParser.dll (this message is harmless)

and nothing more. But browser is freezed.

What is problem? I realy need help.

P.S. I use WWW for requests.

While you may not see the need for a crossdomain.xml files, Unity disagrees with you :wink: You definitely need to have a crossdomain.xml wherever unity checks for it based on your WWW url calls.

You might get some additional help if you install this if you haven’t already: http://www.dreammakersgroup.com/products-2/unity3d-in-game-logs/