Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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

Product Version: UE 4.14
more ▼

asked Jan 05 '17 at 11:25 AM in Using UE4

avatar image

59 6 13 14

avatar image Dartanlla Jan 05 '17 at 04:05 PM

There must be something strange about your setup then. I run a dozen server instances and multiple client instances of the game on one PC and have never had that issue. Is this just a blank example map or do you have any custom you are doing that might be causing this issue?

avatar image antoinegloum Jan 09 '17 at 11:40 AM

It's a blank map, but it's a computer with SteamVR.

avatar image Muzaheed Aug 19 '17 at 05:54 AM

@Dartanlla ,are u using htc vive?

avatar image JonathanLambert Mar 07 '17 at 07:54 PM

I'm having the same issue.

avatar image HawkDanny Jun 22 '17 at 07:31 PM

I'm having the same issue. Trying to run multiple packaged instances, on a computer with SteamVR. (However, I need to be using SteamVR in the project).

Does it definitely have something to do with SteamVR?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

4 answers: sort voted first

You can just disable SteamVR Plugin to solve this problem. finds more details in LevelTick.CPP.

 if (GEngine->HMDDevice.IsValid())
     GEngine->HMDDevice->OnStartGameFrame( GEngine->GetWorldContextFromWorldChecked( this ) );
more ▼

answered Mar 08 '17 at 04:11 AM

avatar image

6 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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.

more ▼

answered Mar 30 '17 at 10:42 AM

avatar image

38 5 6 11

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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:

  1. Disable the SteamVR plugin in UE4 Editor

  2. REPACKAGE the game client with the SteamVR plugin disabled

  3. Run multiple game client .exe

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.

more ▼

answered Nov 10 '17 at 04:49 PM

avatar image

35 5 11 14

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Run client in editor and build the game for the server. Not sure if that works though never tried just trying to help. (:

more ▼

answered Mar 08 '17 at 06:50 PM

avatar image


(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question