SmartFox in Unity web player have trouble

Hey all using SmartFox user,

We are using SmartFox to be us online game server too, and This is our connection to the workflow.

Step1. user connects the login server, and make sure user account is correct.
Step2. To complete the above certification, then disconnected.
Step3. After login server is break, and user to try connects the game server.

The Step3 work is fail, but such a function is performed in the pc platform.

Where is the problem for this work??

are you using Unity 3 and policy validation on the smartfoxserver ?

appels

Yes, we using SmartFox1.6 and Unity3.

This is our error log.

Is Unity of the Security not allowed to using a different network port connection in the same IP location at the same time?:face_with_spiral_eyes:

Does anyone have tested a similar connection method?

Sorry my English is not good, and thanks for your help.

I think you can open a connection on any port as long as it’s not blocked by a firewall or other device and you take in account the security needed if your doing it in a webplayer.

appels, thanks for your reply, and the things you said there at work.

But I want to install two game server in one host server. If I connect a game server, even if I cut off the connection, but another is really a game server can not connect.

This problem only occurred in the Unity web platform, and the pc/mac platform is work.

that basicly means that there is a problem with either the security ( not allowed ) or the connection script.

well, If I connect a server, and I cut off the connection.

But i can’t connect other server, it’s looks like be looking.

This problem occurs in our switch to Unity3 = ="

Definitely sounds like a policy file issue - especially since it works for you in a standalone scenario.

Can you post the policy file that you use?

/Thomas

Hi Thomas nice to see your reply.

We just using Unity3 default policy file.

Actually this error refers to happen in the web, it’s work fine in PC/Mac platform.

Yeah - just delivered major milestone on a contract thats been lasting 2 months - so havent had time to follow up on much :slight_smile:

What are you using as policy server? The SFS server - or the separate Unity policy server?

I’m not a policy file expert - but you could try to just use * for everything and see if it works.

Something like

But as said - I’m no expert on the policy part and what restrictions may/may not be in Unity webplayer about this. But theoretically it should work I think.

Do you remember to also have a policy server on host #2 BTW? If I recally, you need to have policy servers on each of the host machines.

/Thomas

Thanks for your reply /Thomas.

If there is any progress, I came up with the report that. :- )

hi ,I get this same problem,Have you solved it ? I need your help, if you did ,please me an email by liukeping1989@vip.qq.com,thank you very much.