Unity 3.0 Web Player Problem

Our game worked fine on web player until changing the Unity from 2.6 to 3.0.
We read the most of posted documents around here, and set the ASCII format file “crossdomain.xml” on both web server host and socket server.
In code, we added the Security.PrefetchSocketPolicy() before the socket function.
But it still can not work.

Any advice are welcome, and thanks a lot~ :slight_smile:

it doesn’t need to be on both, just on the server you connect to. if you use WWW to reach a php or alike, it must be on the webserver, if you intend to use UDP or alike to that server, you need to use the policy socket server (or alternatively one thats itnegrated in your tech).

to do the fetch on the socket server, the corresponding port must be available

Thx dreamora,
I has set up the SFS2X and run the flash example well, but the Unity example given by SFS2X can not work…
I don’t know what the point I missed, would you please give me some detail description? :slight_smile:

There is a thread somewhere I think that explains it. technically SFS X2 should be able to provide it, just look at how it hooks with silverlight and the same is what you would use. perhaps you did specify a port by error or not forward it. Silverlight / Unity are on port 843, unlike Flash which is on a different one