More than 4 sessions EOS crash bug

We have created a very simple repro project based on a clean Unreal template. In the project we create 6 sessions at startup, and afterwards we fetch the serverlist. And once all sessions appear in the serverlist, it crashes - this happens reliably when you’re running it as a packaged build AND you have Steam client is running as well (it’s not a problem in PIE).

Attached you can find the repro project

In the Build/Windows/ folder there is a packaged build already. If you have Steam running when you run this packaged build, it should crash for you as well.

As you can see in the included source code, there’s not that much too it. But we must be missing something, or there’s a bug in the SDK, since it reliably crashes when 5 or more sessions are returned from the EOS server.

Our hunch is some error handling is missing in the callback chain. Looks like you attempted to fix it in 40690647, but now at least you have a repro.

Steps to Reproduce
Run the attached repro project with 5.5 and after 10 seconds it should crash in EOS

Thanks for all of this info! Just to confirm, you pulled that fix into 5.6? It’s not in 5.5. Thanks!

I tried applying just that changeset and that didn’t resolve it.

Just so you don’t assign two people to the same issue, I believe Leuan Thomas is also looking into the issue for BitFire Games, who made the repro.

Thanks for the heads up. We’re looking into this.

Any update from your side?

Hey, sorry for the delay here. We’re fairly confident we found the issue. The code change is still in review, but I uploaded a .diff here. The code that ends up in UE might change as part of our review QA process, but this should unblock you. Please let us know if you see any issues. Thanks!

It seems to be working with the diff, thank you for the help