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"

How do i go about joining Sessions?

So i am using the advanced session plugin to host and join games from steam. When the player 2 joins a hosted session they spawn on the SkyLight that is under the map. i can also not see the player model so my theory is that somehow instead of it spawning a player its spawning another skylight? Thanks in advance

Product Version: UE 4.19
Tags:
more ▼

asked Jun 13 '18 at 03:57 PM in Blueprint Scripting

avatar image

SpazzyChicks
1 1 1

avatar image mightyenigma Jun 13 '18 at 04:00 PM

Please show your code/blueprint to spawn a player who has just joined the session.

avatar image SpazzyChicks Jun 13 '18 at 05:30 PM

is this what you mean? https://gyazo.com/7eb478d9b1799bf6a2a669cd63eae2a2 if not then i don't know if i have that actually and would explain a lot. I was following a tutorial and integrating it into the advanced UI menu i bough in the store so maybe i'm missing something

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

1 answer: sort voted first

Ok. I see your screenshot.

To successfully join a session, you have to first Find the session and on success of that, Join the session. I am assuming the Data variable in that screenshot has been set to a found Session before the Join Session node is reached by the execution? If not, then that could be the problem.

Maybe there is a way to assign a Session without Finding it first too, but make sure that Data variable is set to a valid session first before Joining.

more ▼

answered Jun 13 '18 at 06:30 PM

avatar image

mightyenigma
3k 16 16 9

avatar image mightyenigma Jun 13 '18 at 06:30 PM

Also add a Print String node to the Join Session "Fail" pin to see if it is failing to join or if something else is making it not work.

avatar image SpazzyChicks Jun 15 '18 at 02:43 PM

So i took a small break to let my head think a little, i did what you asked to add the print "failed to join", i have found that i join the session successfully i just don't spawn as a player i spawn as the skylight as i originally said:/

avatar image mightyenigma Jun 18 '18 at 06:53 PM

Okay so you are joining the session just not spawning your pawn at a playerstart.

Where in your code do you tell it to spawn and possess a pawn?

(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