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 you create a session when one isn't found

Hey,

So i have tried to create a session when one isn't found, however it doesnt create a session. I have tried multiple ways but none of them work. The code i am using is attached. If you know any ways please reply.

Thanks alt text

Product Version: UE 4.21
Tags:
capture.png (126.9 kB)
more ▼

asked Mar 16 '19 at 02:34 PM in Using UE4

avatar image

Zαckyyy
1 1 1

avatar image Elou44 Mar 16 '19 at 03:06 PM

Hi Zαckyyy, have you put breakpoints in your blueprint to be sure "Open Level" node is executed? and have you checked the output logs for errors and warnings?

avatar image Zαckyyy Mar 16 '19 at 03:25 PM

hi, i have looked at the breakpoints and it goes to success when it should go to false because there isn't a session. and the output log didn't say anything

avatar image Elou44 Mar 16 '19 at 04:09 PM

Are you using Steam Online Subsystem with SteamDevAppId=480 ?

avatar image Zαckyyy Mar 16 '19 at 04:18 PM

no,this is what i have:

[OnlineSubsystem] DefaultPlatformService=Null

avatar image Elou44 Mar 16 '19 at 04:30 PM

Ok, then I'm not sure why a session is found in this case... Can you tell me if the "Join Session" node succeeds or fails ?

avatar image Zαckyyy Mar 16 '19 at 04:44 PM

It just fails

avatar image Elou44 Mar 16 '19 at 04:53 PM

Then I guess a (dirty) workaround would be to connect the OnFailure pin of the "Join Session" node to the input pin of the "Create Session" node. Does that work?

avatar image Zαckyyy Mar 16 '19 at 05:26 PM

yes, however other users cant join their server now, and i need them to as im making a battle royale

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

0 answers: sort voted first
Be the first one to answer this question
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