EOS_LobbySearch_Find returning EOS_InvalidParameters even though all parameters look correct

Hi, after upgrading our game from UE 5.4.4 to 5.6.1 lobby searches are no longer working. I’ve stepped through the relevant code in OnlineSessionEOS.cpp and it looks like EOS_LobbySearch_Find is being called with correct parameters but, very shortly after it’s called, the callback receives the EOS_InvalidParameters status, and the following log is displayed:

[2025.10.23-22.07.18:565][452]LogEOSSDK: Error: LogEOSLobby: Search query is empty, search invalid.

[2025.10.23-22.20.14:371][452]LogOnlineSession: Warning: EOS: [FOnlineSessionEOS::StartLobbySearch::FLobbySearchFindCallback] LobbySearch_Find not successful. Finished with EOS_EResult EOS_InvalidParameters

I’ve tried to find what that “Search query is empty” log is referring to, with no luck.

For context, we’re using EOSPlus with Steam, and session creation is working correctly, as is joining from invite, so the only thing not working seems to be lobby searches.

Thanks in advance for any help you can provide

+1 for this.

Upgraded to 5.6.0 and the lobby search function is no longer working. If I create a lobby set with `isLan` and then, when searching for lobbies, set `bIsLanQuery` to true, then the search query can find said lobby. However, I can’t seem to join the lobby as it gets stuck not receiving packets:

LogNet: Initial Connect Diagnostics: Sent '9' packets in last '10.002844' seconds, no packets received yet.
LogNet: Initial Connect Diagnostics: Sent '10' packets in last '10.002359' seconds, no packets received yet.
LogNet: Initial Connect Diagnostics: Sent '10' packets in last '10.020965' seconds, no packets received yet.
LogNet: Initial Connect Diagnostics: Sent '8' packets in last '10.002480' seconds, no packets received yet.
LogNet: Initial Connect Diagnostics: Sent '8' packets in last '10.001836' seconds, no packets received yet.
LogNet: Initial Connect Diagnostics: Sent '9' packets in last '10.001919' seconds, no packets received yet.
LogNet: Initial Connect Diagnostics: Sent '9' packets in last '10.006164' seconds, no packets received yet.

Any help would be appreciated!

Thank you for your detailed help on this! I can confirm that it looks to be an issue with an empty search query, which is not supported by the EOS SDK.

LogEOSSDK: Error: LogEOSLobby: Search query is empty, search invalid.

It appears that the EOS OSS Plugin is not adding the search filter for the BucketId on Lobbies, as it does with non-Lobby OSS Sessions, which would typically allow you to perform “empty” queries.

Adding a placeholder attribute to your lobby and search query shouldn’t be necessary, and I will escalate this to our engineering team.

I figured out a workaround for the lobby search function not working. If you just add a parameter to the session, like this example from Lyra:

SessionSettings->Set(SETTING_SESSION_TEMPLATE_NAME, FString(TEXT("GameSession")), EOnlineDataAdvertisementType::ViaOnlineService);

and set the same value you set on the search for an exact match like this:

SessionSearch->QuerySettings.Set(SETTING_SESSION_TEMPLATE_NAME, FString("GameSession"), EOnlineComparisonOp::Equals);

then FindSessions will work with EOS.

I think the reason is that when the online subsystem creates an EOS lobby search handle, if it doesn’t call any further functions on that handle before trying to run the search (which happens when you’re not filtering the sessions in any way), then the EOS SDK considers that search to be “empty”. So you’re basically forced to use a filter that won’t filter any sessions.

Thanks for providing your workaround, it is working correctly for regular lobbies. For anyone that stumbles on this and is creating LAN lobbies, the issue remains that LAN lobbies can be searched for fine, even without the workaround, but attempting to join them results in a forever wait for receiving packets.