For testing connection flow, it can be really useful to have the ability to start standalone instances in one map while the server starts in another. However, since the server map name override is applied only if the NetMode != EPlayNetMode::PIE_Client, any standalone instances will use the map name override as well. Even if a separate server is not being launched and the option is greyed out, the map name override will still be used for standalone instances if there is one provided.
This only occurs for non-PIE editor instances. In PIE, this option is not applied, as expected.
In the advanced play settings, select Launch Separate Server, set the Play Net Mode to Play Standalone, and provide a map name in Server Map Name Override that is different to the editor's currently loaded map.
Use the "Standalone Game" Play Mode to launch the server and standalone instances.
Expected: the server instance will load the map specified by Server Map Name Override, and the standalone instance will load the editor's current map.
Actual: both instances load the Server Map Name Override level.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-179658 in the post.
|Component||UE - Networking|
|Created||Mar 9, 2023|
|Resolved||Mar 9, 2023|
|Updated||Mar 15, 2023|