Networking session bug(?) empty results with 4.15

Creating/finding sessions seems to be broken in 4.15.0, I have tried everything and I always get a Results length of 0 from find sessions. With the exact same methods, and I have done this about three dozen times this week, it works in 4.14.3 and works in other engine versions. However no matter if I am using NULL or Steam OSS I always get empty results with 4.15.

The only way I get a result is with “Use LAN” set to true on create session, no other sessions make any different. I think the bug might have to do with this 4.15 bugfix

“BugFix: Fixed OSSNull server/session filtering to better match Session Settings and online OSS. Made MCP, Steam, and Null LAN queries more consistent”

Got the same problem here…

Hello,

I’ve reproduced this issue in my test project, and have entered a bug report that you can track using the link below:

Have a great day

Same issue… Anyone know how to fix it? Even temporary? :frowning:

Sean this issue has been flagged as fixed but i think who every submitted the Bug Report forgot to mention this is mainly a issue with packaged projects, the problem hasn’t been resolved in 4.15.1.

Thanks for letting me know. What’s the specific case where you are still seeing this issue?

Have you tried disabling Auto Connect to Server under your Play settings in Project Settings to see if that resolves the issue?

If you can provide me with a test project, or a set of repro steps that I can use to reproduce the issue and see that it is still occurring, that would be great.

Thanks

Hi Sean, You can reproduce this issue by using the Multiplayer Shootout template and enabling steam online Subsystem, then packaging the project and running two instances one hosting while the other searching for a match, this issue seems to only be when the Steam Subsystem is used, the Null platform seems to work just fine, I couldn’t find the setting you described in Project Settings. Thanks

Thanks, I noticed that you have created a new thread in Bug Reports for the issue, so I’m going to go ahead and close that one out and follow up with the investigation here instead. I’ll reply here once I have new information.

Thanks, and yes i created that before i found this bug report.

I have a question regarding your issue:

Are you testing your packaged project running two instances on the same PC or are you running on two separate PCs?

He Sean, I was testing it on the same PC which i was doing on previous builds of the engine, maybe it was defaulting to the Null subsystem before hand? it does seem like it as it worked fine testing on two individual systems, maybe I’m missing something that was change I’m not sure thanks again.

I honestly wouldn’t expect two instances of a steam game to work on the same PC, so I’d think that the behavior that you are experiencing is intended. I’m glad to hear that it works fine on two separate systems though. I recommend using that method for further testing.

Thanks for the reply Sean yeah i that what i thought but in previous builds it did ether that or it was using the Null system and i didn’t know about it ether way thank you for your time.

Hi Sean,

You seemed to think that this error was related to the bug I reported at this thread:

However, I can also confirm that my related issue is not fixed with 4.15.1. In particular, I cannot form any connection between two instances of a packaged game on Mac, even on a LAN.

Hey Mystra,

Yeah that issue has been resolved. I suspected it was related but it seems that it could be something different. I’ll be investigating and I’ll respond over on your thread when I have new information.

Thanks

I’m having the same issue and am using 4.15.1

Hey J.C. Smith,

I’ve verified that the issue is resolved in 4.15.1 using a multiplayer setup through Steam.

I’ve attached a working project that you can use as a reference:

link text

If you’re experiencing an issue connecting with that project (ensure that you have Steam running) it’s possible that there is an issue somewhere on your end as well.

Hello Sean,

I’m using “DefaultPlatformService=Null” in DefaultEngine.ini and session search also outputs empty array. I’m not interested in using Steam for testing, so is there any other workaround for this issue? It worked fine in 4.14, now packaged game never finds any session, on single PC nor two PCs (I only need LAN connection, nothing more).

link text

Hey Nox_A15,

Null also seems to be working according to the project I’ve set up for testing above. Feel free to download it and take a look at it.
C to create a session and J to join a session.

Did you ensure to add:

[OnlineSubsystem]
DefaultPlatformService=NULL

to your DefaultEngine.ini?

Also have you ensured to restart the editor if it was open when you added this to the .ini?

Thanks Sean. I’ll check this out when I get home today and give an update after I do.