How to run two game instances on the same computer ?
I would like to run a multiplayer game with one server instance and one client instance on the same computer.
However, everytime I start a new instance, the previous one is closed with a "LogWindows: FPlatformMisc::RequestExit(0)" message in the logs.
I'm using a brand new project on Unreal 4.14 using the FirstPersonExampleMap. But even without the multiplayer options, it is not possible to run the same game two times.
Is there an option to disable this behaviour ? Thanks
asked Jan 05 '17 at 11:25 AM in Using UE4
You can just disable SteamVR Plugin to solve this problem. finds more details in LevelTick.CPP.
answered Mar 08 '17 at 04:11 AM
I'm having a similar issue. Running in editor/PIE is fine where it creates a new client that auto-connects to the main game (brownie points if someone can point out which source file allows this magic), but after packaging it, I can only run one instance. I can open a second instance for a split second before the first shuts down.
I can get around this issue by running the program as another user (Windows 10) and then running it again as myself so I have both windows open at the same time on my screen, but it feels janky and kind of hacky, so if someone has a better solution, please let us know.
answered Mar 30 '17 at 10:42 AM
I can confirm that this was caused by SteamVR, at least on my computer. Here's what I had to do to allow multiple clients to run on the same PC:
The key here is that any .exe's that were packaged while the plugin was still enabled will force SteamVR to launch, and force only one client to run at a time.
answered Nov 10 '17 at 04:49 PM
Run client in editor and build the game for the server. Not sure if that works though never tried just trying to help. (:
answered Mar 08 '17 at 06:50 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here