At the link, you it is written “Unable to test in 4.15 Main CL# 3205566 due to a consistent failure to join session error.” Is it still the case, or just wasn’t checked since because of the Backlogging?
And if you can’t leave a session just like that, then how do other developers solve the problem of disconnecting from a server? (Like Gears of War for a big example)
I believe is has to do with the multi-threading nature of the UE4, when it tries to delete the session it’s probably waiting on access from another thread, and it can’t get access to it, so it fails out. But when called before the creation, the NetController is fully destroyed therefor exiting out of all those resources held by those busy threads, so it probably doesn’t has that problem.
Again that explanation is a estimate, but I believe it makes sense.
So you are telling me, the Destroy Session should work as long as I put a Create Session right after it? How about when I don’t want to be in any sessions? Like return to Main Menu or such. Should I make a session with a sole connection anyway?
Can we please get a fix for this higher in priority? Unreal is my favorite game Engine, and continues to improve year after year; but the multiplayer genre isn’t using it as often as it could be. I’m sure Unreal wants to see more multiplayer games using their Engine in the market. Right now multiplayer functionality is very clunky, and bugs in core functionality like this, as well as other issues with tutorials and documentation, make it hard for us to get our games out.
To be honest, I haven’t checked in the new versions, I was just hoping that by the time it will be unavoidable to implement it, it will be fixed. All I can see now is the ticket saying “won’t fix”. But if it works now despite the label on the ticket, then I apologise for the harshness, and I will check it out on the weekend with 4.16.2!
I am getting this as well in 4.18. Supposedly I see in the ticket, this is a target fix for 4.20… I mean, this is stuff that shouldn’t be broken in UE4 in 2018. The rest of OSS and especially OSS Steam should be 100% good to go. But we are still waiting on things like this: Advanced Sessions Plugin - Community Content, Tools and Tutorials - Unreal Engine Forums to be fully implemented into the engine by default… or even full wrapper like UWorks but with actual OSS support.
I know Epic doesn’t have any plan on putting games on Steam, so it may not be High Priority for Epic, but I would guess that at least 90% of your userbase WILL be using Steam.