SmartFox freezes Unity?

Hi
Sorry for my bad english.
I use SmartFox with Unity. But since I use SmartFox, Unity freeze for a while. But there is not a logic
behind. Sometimes it freeze by press the play button or when I stop the game or when I
change a script and save it, while runtime.

But when it freezes Unity, I must wait ~2 minutes and it works again.

Somtimes comes after the freeze a NullReference Exception, but not often.

It’s make me nervous :rage:

Can somebody help me PLEASE?

thx :smile:

Are you using the 2x version of SmartFox? Is this happening in the editor only?

It sounds like the Smartfox server session might be timing out after a few minutes and releasing the tcp connection.

Edit/Project Settings/Player → Run in background maybe ?

I use SmartFox Server 1.6.6.
It works now better, but I dont’t know the reason ^^

I take a look to the multiplayer Island Demo and code my programm a bit cleaner.
Thx for help. :slight_smile:

Hey I had a similar issue, make sure your using the queue mode of smartfox server otherwise your opening unity-unfriendly threads