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. 

Is it necessary to open level after creating session?

Hi i wanted to know that can creating session and finding session work without opening a level with listen parameter? I wanted players to join the level currently i am in. How it is done in a MMO RPG type game where there is a single level or level streaming and players keep joining and leaving the same level? Also i am not able to understand how the find session works? What happens if I open a level with listen parameter and then create a session? I found that i am unable to find that session when i tried where as when a create a session first and then open a level with listen parameter i can find that session and join it, i wonder why? Is there any documentation on how this create session and find session works? Best regards Atin

Product Version: UE 4.21
more ▼

asked Jan 05 '19 at 02:39 AM in Using UE4

avatar image

5 3 5 5

avatar image MC1RScorpion Feb 07 '19 at 01:07 AM

I'm curious to know what you might have discovered about this.

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

1 answer: sort voted first

Think of sessions of a game in progress on the server - whatever state the server is in, that's the one that will (theoretically) be used to run the game. A level has to be initiated with listen so that the server knows it should expect connections. Don't think of levels as physical worlds, but a contained state that holds objects (whether those objects be maps, actors, etc.) that the server and clients use as a focus at that time.

When you change a level, the session is updated that the server is using that level. All clients that join the server's session look at the level use it so they remain in "sync".

As an analogy, a session is an instance of a game. Just like a copy of any game you play - you click to run it, it loads and plays as a session. Clients remotely do the same, but to sync up, join the session in progress on the server. Not sure if that makes sense.

more ▼

answered Feb 07 '19 at 05:40 AM

avatar image

146 2 2 4

(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