multiplayer-community-contributions icon indicating copy to clipboard operation
multiplayer-community-contributions copied to clipboard

Error when trying to StartHost

Open Marc477 opened this issue 2 years ago • 0 comments

Did a WebGL build with a relatively simple test project, using WebSocket transport. Netcode 1.0.2, Unity 2020.3.37

I set the port to 7700 and the ConnectAddress to "0.0.0.0" to listen to all.

When I call NetworkManager.StartHost(), i get this error:

SocketException: mono-io-layer-error (0) at System.Net.Sockets.Socket..ctor (System.Net.Sockets.AddressFamily addressFamily, System.Net.Sockets.SocketType socketType, System.Net.Sockets.ProtocolType protocolType) [0x00000] in <00000000000000000000000000000000>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <00000000000000000000000000000000>:0

Marc477 avatar Jan 02 '23 04:01 Marc477