Client loading incorrect map while connecting to server
Expected Behavior: When a client connects to a server the client will automatically load the map that the server is running. (Multiplayer Shootout Game youtube video at 17:27).
Actual Behavior: The client reloads the map that it was running when it connected to the server (usually a level titled something like 'MainMenu'). .
Steps to Reproduce:
General Thoughts: I believe MultiplayerShootout was working correctly earlier (within the last day or two). Maybe I'm wrong about this, maybe I'm just too drunk to remember correctly. I started to implement logic similar to MultiplayerShootout in a personal project. I noticed that whenever a client connected to a server the BeginPlay event of the MainMenu map (which is the map that was loaded when the client tried connecting to the server) would get called and the client would display a black screen (which is correct for the MainMenu map). I went back to MultiplayerShootout and experienced the same behavior. I opened projects that I haven't worked on in weeks which connect using OpenLevel?listen and ExecuteConsoleCommand (no session nodes) and they now behave the same (client reloads level that was open when connection to server was requested). Before this I had never used the session nodes or had Steam entries in any DefaultEngine.ini file. I'm not sure if I messed something up at the computer level or if there is just a bug in my projects. When I package MultiplayerShootout, start two instances and create a server and client the client connects as expected. Any help with this issue is greatly appreciated.
Verbose log is at http://pastebin.com/ATTxSnDz
TLDR; my sh*t be wack
I was able to reproduce this issue on our end. I have written up a report ( UE-26083) and I have submitted it to the developers for further consideration. I will provide updates with any pertinent information as it becomes available. I have also provided a potential workaround that may be viable depending on your needs. Thank you for your time and information.
You could use the launch game feature by right clicking the the uproject to launch two copies of the project for testing.
Note: This issue did not appear to be that the incorrect map was being loaded. Instead the issue was that there was not lighting in the level. This is subject of the report mentioned above.
Make a great day
Follow this question
Once you sign in you will be able to subscribe for any updates here