x

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"

Find Sessions not finding session in LAN

Hi, i created a simple blueprint with the function "find sessions" in it, when i launch it in my computer with 2 players, then the find sessions works perfectly, but when i run the second player on another computer in LAN, it does not find the session. i also added:

 [OnlineSubsystem]
 DefaultPlatformService=LAN

in the DefaultEngine.ini and i can connect to the server using console commands.

Product Version: Epic Games Launcher
Tags:
more ▼

asked Jun 13 '16 at 10:10 AM in Using UE4

avatar image

Ingmar05
10 6 10 16

avatar image Chris Gray Dec 05 '16 at 09:37 PM

Hi, did you ever find a solution to this problem?

avatar image Shanowzer Dec 28 '16 at 03:24 AM

Hey, bumping this, did you ever find a solution?

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

2 answers: sort voted first

You need to create a session and set "Use LAN",

https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/OnlineNodes/

Create Session node will register server to online service (if you use any) and/or this also should start up LAN beacon which will listen to multicast packets from clients that will search for the game.

This should work regardless of online subsystem you use, as online services don't effect your LAN in anyway. You should use NullOnlineSubsystem if you want IP entry only and LAN only, but keep in mind "find session" in null works only over LAN since there is no multicasting over Internet and without some online service that lists servers there no way to find servers over internet.

more ▼

answered Dec 28 '16 at 05:37 AM

avatar image

Shadowriver
37.8k 937 172 1123

avatar image Chris Gray Jan 03 '17 at 06:54 PM

Shdowriver can you confirm that this works when using multiple computers in a LAN? I've used the Create Session node and even when LAN is set to true, another computer in the LAN will not be able to find the server (using the find sessions node). However when the "Number of Players" is increased on a single PC, the second player will be able to find the server.

avatar image Shadowriver Jan 03 '17 at 07:37 PM

Then "Number of Players" probably is server player limit and you solved problem yourself. I never played with UE4 network multiplayer so im not 100% sure

avatar image Chris Gray Jan 03 '17 at 09:21 PM

For my game the server player limit is increased by a player manually before they create the session so it can't be that. Thanks for the help anyway!

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

I found solution of this problem in this post.

more ▼

answered Apr 23 '18 at 04:25 AM

avatar image

german129873
6 1 5

(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