Hi guys,
We’re working on our not big multiplayer project, but if we need to package, it spend at least 10 minutes, and for our situation, test with PIE, is not so convenient.
So we want to use the editor plus command line to run the dedicated server(we don’t need listen server) and client, then we can get rid of waste time to wait package at developing moment.
We create two bat files to do it and we’re using Unreal Engine 4.2.1.
-
run_dedicated_server.bat:
\UE4Editor.exe %~dp0\MyTPS.uproject Example_Map?game=/Game/Blueprints/MyGame.MyGame_C -server -log
-
run_client.bat:
\UE4Editor.exe %~dp0\MyTPS.uproject 192.168.1.132 -game
It works well on one computer, but when multiple computers connect to the dedicated server with run_client.bat, we got this error :
LogNetTraffic:Error: UNetConnection::ReceivedPacket: Received control channel close before open
BTW, it works with a compiled(packaged) client.
Is there any way to fix that, thanks a lot!