We just released version 1.0.3 of the Unity/C# API.
The new version can be found here: http://www.smartfoxserver.com/download/sfs2x#p=updates
Release notes:
[NEW] Threaded sending of requests to increase performance and reduce impact of large packets on game client.
[FIX] SFSRoom current user count not reporting correct number.
[FIX] Disconnection issues.
[FIX] Reconnection exception being thrown when HRC is used.
[FIX] Deserialization error in classes with extra fields.
[FIX] Wrong RoomProperties Max User and Max Spectator keys.
API 1.0.3 update
API 1.0.3 update
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Re: API 1.0.3 update
Hi Bax,
Thanks for the update! This update resolves the "idle disconnect" issue described here.
My only remark at this moment is that it seems to fire the CONNECTION_LOST event twice; one with reason 'idle' followed by another with reason 'unknown'. It is not a big issue, but it does look a bit strange. When disconnecting manually, this does not happen, and just one event is fired (reason: 'manual');
But at least the disconnect is detected properly now and I can reconnect using the same SmartFox object. Kind of useful when you are using it as a singleton
Thanks for the update! This update resolves the "idle disconnect" issue described here.
My only remark at this moment is that it seems to fire the CONNECTION_LOST event twice; one with reason 'idle' followed by another with reason 'unknown'. It is not a big issue, but it does look a bit strange. When disconnecting manually, this does not happen, and just one event is fired (reason: 'manual');
But at least the disconnect is detected properly now and I can reconnect using the same SmartFox object. Kind of useful when you are using it as a singleton