- Home /
Unity Mirror Networking - can't create a server on a build game, IL2CPP Mistake
Here is extract from Player.Log. However if I choose mono instead of il2cpp built game works fine
Initialized touch support.
UnloadTime: 0.353400 ms KcpTransport initialized! UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:Log(Object) kcp2k.KcpTransport:Awake()
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
ArgumentException: Value does not fall within the expected range. at System.Net.Sockets.Socket.SetSocketOption (System.Net.Sockets.SocketOptionLevel optionLevel, System.Net.Sockets.SocketOptionName optionName, System.Int32 optionValue) [0x00000] in :0 at System.Net.Sockets.Socket.set_DualMode (System.Boolean value) [0x00000] in :0 at System.Net.Sockets.Socket.SocketDefaults () [0x00000] in :0 at System.Net.Sockets.Socket..ctor (System.Net.Sockets.AddressFamily addressFamily, System.Net.Sockets.SocketType socketType, System.Net.Sockets.ProtocolType protocolType) [0x00000] in :0 at kcp2k.KcpServer.Start (System.UInt16 port) [0x00000] in :0 at kcp2k.KcpTransport.ServerStart () [0x00000] in :0 at Mirror.NetworkServer.Listen (System.Int32 maxConns) [0x00000] in :0 at Mirror.NetworkManager.SetupServer () [0x00000] in :0 at Mirror.NetworkManager.StartHost () [0x00000] in :0 at Mirror.NetworkManagerHUD.StartButtons () [0x00000] in :0 at Mirror.NetworkManagerHUD.OnGUI () [0x00000] in :0
(Filename: currently not available on il2cpp Line: -1)
Your answer
Follow this Question
Related Questions
Unity networking tutorial? 6 Answers
how to use NetworkServer.SendToClient ? 0 Answers
How to make a simple network server? 1 Answer
other players and the server does not receive networkView.RPC 1 Answer
Networking: Standalone Simulation Server 0 Answers