Problems to connecting to server on LAN
Posted: 25 Apr 2012, 12:13
I am having a problem logging into my unity game to the server on another PC, either a Virtual PC on me development PC or another PC on my home wireless network. I can connect, but I cannot login. This is using a slightly modified version of the FPS sample.
These are the debug messages I get in the unity console. Any help offered will be very much appreciated.
Thx.
Tony
Login ok
UnityEngine.Debug:Log(Object)
ConnectionGUI:OnLogin(BaseEvent) (at Assets/Lobby/Scripts/ConnectionGUI.cs:248)
Sfs2X.Core.EventDispatcher:DispatchEvent(BaseEvent)
Sfs2X.SmartFox:ProcessEvents()
ConnectionGUI:FixedUpdate() (at Assets/Lobby/Scripts/ConnectionGUI.cs:66)
[SFS DEBUG] UDPSocketLayer: Error reading data from socket: An existing connection was forcibly closed by the remote host.
UnityEngine.Debug:Log(Object)
ConnectionGUI:OnDebugMessage(BaseEvent) (at Assets/Lobby/Scripts/ConnectionGUI.cs:237)
Sfs2X.Core.EventDispatcher:DispatchEvent(BaseEvent)
Sfs2X.SmartFox:ProcessEvents()
ConnectionGUI:FixedUpdate() (at Assets/Lobby/Scripts/ConnectionGUI.cs:66)
[SFS DEBUG] Unexpected UDP I/O Error. Error reading data from socket: An existing connection was forcibly closed by the remote host.
[ConnectionReset]
UnityEngine.Debug:Log(Object)
ConnectionGUI:OnDebugMessage(BaseEvent) (at Assets/Lobby/Scripts/ConnectionGUI.cs:237)
Sfs2X.Core.EventDispatcher:DispatchEvent(BaseEvent)
Sfs2X.SmartFox:ProcessEvents()
ConnectionGUI:FixedUpdate() (at Assets/Lobby/Scripts/ConnectionGUI.cs:66)
[SFS DEBUG] [ BB-Send ]: 9c2e8598be3257a8babf1186f5514606|poll|null
UnityEngine.Debug:Log(Object)
ConnectionGUI:OnDebugMessage(BaseEvent) (at Assets/Lobby/Scripts/ConnectionGUI.cs:237)
Sfs2X.Core.EventDispatcher:DispatchEvent(BaseEvent)
Sfs2X.SmartFox:ProcessEvents()
ConnectionGUI:FixedUpdate() (at Assets/Lobby/Scripts/ConnectionGUI.cs:66)
These are the debug messages I get in the unity console. Any help offered will be very much appreciated.
Thx.
Tony
Login ok
UnityEngine.Debug:Log(Object)
ConnectionGUI:OnLogin(BaseEvent) (at Assets/Lobby/Scripts/ConnectionGUI.cs:248)
Sfs2X.Core.EventDispatcher:DispatchEvent(BaseEvent)
Sfs2X.SmartFox:ProcessEvents()
ConnectionGUI:FixedUpdate() (at Assets/Lobby/Scripts/ConnectionGUI.cs:66)
[SFS DEBUG] UDPSocketLayer: Error reading data from socket: An existing connection was forcibly closed by the remote host.
UnityEngine.Debug:Log(Object)
ConnectionGUI:OnDebugMessage(BaseEvent) (at Assets/Lobby/Scripts/ConnectionGUI.cs:237)
Sfs2X.Core.EventDispatcher:DispatchEvent(BaseEvent)
Sfs2X.SmartFox:ProcessEvents()
ConnectionGUI:FixedUpdate() (at Assets/Lobby/Scripts/ConnectionGUI.cs:66)
[SFS DEBUG] Unexpected UDP I/O Error. Error reading data from socket: An existing connection was forcibly closed by the remote host.
[ConnectionReset]
UnityEngine.Debug:Log(Object)
ConnectionGUI:OnDebugMessage(BaseEvent) (at Assets/Lobby/Scripts/ConnectionGUI.cs:237)
Sfs2X.Core.EventDispatcher:DispatchEvent(BaseEvent)
Sfs2X.SmartFox:ProcessEvents()
ConnectionGUI:FixedUpdate() (at Assets/Lobby/Scripts/ConnectionGUI.cs:66)
[SFS DEBUG] [ BB-Send ]: 9c2e8598be3257a8babf1186f5514606|poll|null
UnityEngine.Debug:Log(Object)
ConnectionGUI:OnDebugMessage(BaseEvent) (at Assets/Lobby/Scripts/ConnectionGUI.cs:237)
Sfs2X.Core.EventDispatcher:DispatchEvent(BaseEvent)
Sfs2X.SmartFox:ProcessEvents()
ConnectionGUI:FixedUpdate() (at Assets/Lobby/Scripts/ConnectionGUI.cs:66)