Room List update problem
Posted: 21 Aug 2017, 14:05
Hello,
am new to smartfox unity.
I am using SmartFox pro Server version 1.2.6. I made the connection to the server. OnRoomListUpdate delegate method in client side is not calling when the server sends the room list and the connection on the client side gets lost.
My Unity Version is 5.6.3
Server Side Code:
if (ok) {
logger.info("sending login response");
sendResponse(res, -1, null, ll);
logger.info("sending room list update ");
helper.sendRoomList(chan);// this line cause problems
}
in client side debug log
OnDebug messgeDisconnect due to: Unknown char: d
UnityEngine.Debug:Log(Object)
SmartfoxConnector:OnDebugMessage(String) (at Assets/Plugins/SmartfoxConnector.cs:162)
SmartFoxClientAPI.SmartFoxClient:_DispatchEvent(SFSEvent)
SmartFoxClientAPI.SmartFoxClient:DispatchEvent(SFSEvent)
SmartFoxClientAPI.SmartFoxClient:DebugMessage(String)
SmartFoxClientAPI.SmartFoxClient:HandleSocketData()
Thanks
am new to smartfox unity.
I am using SmartFox pro Server version 1.2.6. I made the connection to the server. OnRoomListUpdate delegate method in client side is not calling when the server sends the room list and the connection on the client side gets lost.
My Unity Version is 5.6.3
Server Side Code:
if (ok) {
logger.info("sending login response");
sendResponse(res, -1, null, ll);
logger.info("sending room list update ");
helper.sendRoomList(chan);// this line cause problems
}
in client side debug log
OnDebug messgeDisconnect due to: Unknown char: d
UnityEngine.Debug:Log(Object)
SmartfoxConnector:OnDebugMessage(String) (at Assets/Plugins/SmartfoxConnector.cs:162)
SmartFoxClientAPI.SmartFoxClient:_DispatchEvent(SFSEvent)
SmartFoxClientAPI.SmartFoxClient:DispatchEvent(SFSEvent)
SmartFoxClientAPI.SmartFoxClient:DebugMessage(String)
SmartFoxClientAPI.SmartFoxClient:HandleSocketData()
Thanks