Session problems in several cases

Hello Unreal Forums!

I have a very weird thing that started happening out of nowhere:

I’m working on a multiplayer game with OnlineSubsystemSteam. I can host a session, open a map as listen server and that session can be joined. However, changing the map via servertravel [MAPNAME]?listen kicks the connected client almost instantly and closes the session, I can’t invite people and they can’t find the session.

A few days ago people could also join AFTER loading the map. Seamless travel has been tried enabled and disabled, no difference.

Also: Destroy Session always returns fail, so I assume the session gets destroyed, the output log says LogOnlineSession: Warning: OSS: Can't destroy a null online session (GameSession). If I start as client it says LogOnlineSession: Warning: OSS: No game present to join for session (GameSession).

I don’t remember installing or removing plugins, maybe it’s some problem with the build.cs or something, but I triple checked that.

I’d appreciate any kind of help.

Thank you in advance!

I don’t know why that solves it, but I HAD to turn on seamless travel to keep the session. This wasn’t an issue before, but for me it works out with seamless travel too. Still weird tho.

If anyone has an answer to WHY this is happening, I’d still be glad.

Thanks!

2 Likes