When using the Steam Sub System, it’s possible to search for and host ‘LAN’ games as far as the session is concerned.
However, if you try to ‘cancel’ the search while searching for a LAN game, the engine will crash with an access violation. I’m fairly sure this is caused by Line 786 in OnlineSessionInterfaceSteam.cpp, but since there is no logging and the breakpoints aren’t hit I can’t be sure.
Apparently, it’s not possible to use Steam with LAN sessions - so IMO there should be some more clear warnings in place for that upfront, and it shouldn’t allow you to create them.
We are marking this topic as resolved for tracking purposes, as we haven’t heard from you in a few days. If this issue persists, feel free to respond to the thread and provide a project that I can use to reproduce the issue on my end.
Coming back to this after quite a while, I’m still getting this crash. I’m on 4.17.1 now. Even though I’m using my own AppID, I can’t find any sessions when using non-lan mode, but when using Lan mode, the game crashes when I try to cancel finding sessions.
I still don’t get a proper callstack because the code is optimized away. I guess I’ll have to try with a full engine build -.-
It does seem as though there is some unguarded code in the Steam OSS though…