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"

Join Session Node doesn't work

I'm trying to make a Multiplayer LAN game using the Sessions blueprint nodes.I use a simple blueprint connecting procedure as shown in the image. I open 2 instances of my packaged game, one presses H and successfully creates a session, and the other finds the created session and joins it. The On Success Exec line of the Join node fires, but neither characters can see each other, anybody have an idea ?

alt text

I also tried the Multiplayer shootout which uses a similar procedure, but on joining a session from the mainmenu level both clients terminates and nothing happens.

So I suspect the problem is with the engine, correct me if i'm mistaken.

Product Version: UE 4.8
Tags:
more ▼

asked Jul 23 '15 at 02:14 PM in Bug Reports

avatar image

Zexus_
56 3 7 11

avatar image Ben Halliday STAFF Jul 23 '15 at 05:25 PM

Hi Zexus,

Can you upload a test project that reproduces this problem somewhere and get me a download link? Thanks!

avatar image CriErr Jul 24 '15 at 12:24 PM

I also tried the Multiplayer shootout which uses a similar procedure, but on joining a session from the mainmenu level both clients terminates and nothing happens.

same for me, i just created a simple project based on 2.5d and basic "create session" - "join session" doesnt work. If you "create a session" on a listen window of game test, it create a session and transfer clients to level, but if you create new session on a client window, you would be able to found it with "find session" but game test windows would be closed on attemp to join this session.

avatar image Ben Halliday STAFF Jul 24 '15 at 02:19 PM

Hi CriErr,

I can't reproduce this, either. Can you upload a test project somewhere for me? Thanks!

avatar image Zexus_ Jul 25 '15 at 12:14 PM

Here is a sample project , I added the procedure to the third person character blueprint. https://drive.google.com/file/d/0BwFVFn21YfLcQURzMTdIOGxVMkk/view?usp=sharing

avatar image Blue man Jul 25 '15 at 11:21 PM

Hi,I had similar problem,look at this https://answers.unrealengine.com/questions/257958/join-session-not-working.html

You can try few things that worked for me :

  • change your user name on windows (or whatever system you have) if in your name you have: ž,ż,č,ć...

  • Install all of the updates for your operating system (windows...)

I hope it helps

Blue

avatar image CriErr Jul 25 '15 at 11:37 PM

yeah, but that's not an answer, you cannot make a game which rely on players have latest windows version.

avatar image Zexus_ Jul 27 '15 at 01:07 PM

I alread saw that link before posting, and yea I did my latest updates on win 8.1 and my name doesn't contain any special characters.

avatar image Blue man Jul 25 '15 at 11:50 PM

I have tested packaged version of my game with one of my friends and once I packaged my game I have no problems with names or updates.You only need all updates when you are packaging you game.

This works in my case but I don't know if it will work for you.

avatar image CriErr Jul 25 '15 at 11:59 PM

win version?

avatar image Blue man Jul 26 '15 at 12:18 AM

I use win 7.

avatar image Blue man Jul 26 '15 at 03:25 PM

Did you put "listen" in open level node.

avatar image CriErr Jul 27 '15 at 05:34 AM
avatar image Zexus_ Jul 27 '15 at 01:08 PM

Do I have to do this ?

avatar image eXi Jul 27 '15 at 01:44 PM

No, i wouldn't call this a solution. It may help you, but in general, the normal Join node needs to work. Wait for Ben to call back to you. Also we need to find the cause of this problem, since it seems to appear more often.

You can still use the advanced session plugin if this really fixes it for you. Maybe this also helps Ben and the tech team to narrow down the cause.

avatar image Zexus_ Jul 27 '15 at 05:56 PM

I already did tried it, but it didn't work

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hi Zexus,

Sorry for the delay in getting back to you! I took a look at the project you provided, and it looks like you're missing the "listen" in the Options field of the Open Level node. It should look like this:

alt text

Without this, the Session you're creating cannot be joined because it's not acting as a server. Hope that helps!

optionslisten.png (45.5 kB)
more ▼

answered Jul 29 '15 at 07:46 PM

avatar image Zexus_ Aug 01 '15 at 03:21 PM

I did as you said, now my game crashes after joining. This also happens in the multiplayer shootout sample.

avatar image Blue man Aug 01 '15 at 05:28 PM

Be sure that you only host with server window and join with client window,I sometimes get crash if I join with server window.

avatar image Zexus_ Aug 02 '15 at 04:33 PM

Yea it worked, but what if I want other clients to be able to host ?

avatar image Blue man Aug 02 '15 at 04:42 PM

That is the problem only in the editor after you package your project you can open multiple instances and test it.

avatar image Zexus_ Aug 03 '15 at 04:07 PM

Thanks alot, it worked perfectly :D

avatar image Blue man Aug 03 '15 at 04:19 PM

I'm glad to hear that :)

(comments are locked)
10|2000 characters needed characters left
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