EDIT2:
So I’ve made some changes in code. In my game I’ve set some SessionSettings’ variables in order I could call NeedsToAdvertise() in OnlineSessionInterfaceNull.cpp with true as return value.
There is first video of LyraFindSessions to compare with second video of MyGameFindSessions.
First of all in LyraFindSessions and MyGameFIndSessions videos I’m confused why when I’m debugging Tick() in LANBeacon.cpp with UnrealEditor-Engine!GPlayInEditorContextString it shows me “Not in a play world” instead of “Listen Server” or “Client”.
Second of all I do not understand why in LyraFindSessions when I skip Tick() in LANBeacon.cpp it constantly changing LanBeaconState from Hosting to Searching but in the call stack it shows nothing or my debug points are not hit at all when the variable is set. Also I do not get from the packet with length 310 has come, since on the server I’ve just send packet with length 32, nevertheless it works (it finds a session to join) besides that my game, when this weird behaviour is not happing (no changing LanBeaconState variable back and fort and receiving different length packet other than what I’ve actually sent), does not work (it does not find a session to join).