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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Alternative for GameInstance in multiplayer?

This is what I found out so far:

GameMode: resets between maps. Runs only locally (does not exist on server) and is thus only suitable for SP. GameState: resets between maps. Runs both locally and on server and is thus suitable for replication. GameInstance: persists between maps. Runs both locally and on server BUT it runs as NM_Standalone and is thus NOT suitable for replication.

PlayerController: I don't know if it resets between maps but it replicates and is suitable for replication. BUT the server will have multiple PlayerControllers and thus you don't want to put certain variables here.

So okay I have an array of certain actors that both the server and the clients must be aware about AND it must be persistent between maps. Where do I put it? Because it looks like it is none of the above...

Also interesting:



One link says that the GameInstance only exists on the client and the other one that it only exists on the server. Not sure which one it is now but it for sure cannot replicate because it does indeed show it's NetMode (I tested it) as NM_Standalone(0).

Product Version: UE 4.18
more ▼

asked Jan 11 '18 at 12:18 PM in Using UE4

avatar image

590 89 104 153

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

1 answer: sort voted first

Hey there, if you use Server Travel with seamless travel, the player controller persists when you change maps. You can check about that here.

more ▼

answered Jan 12 '18 at 11:38 AM

avatar image

6k 161 129 304

(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