OSSV2 - Cannot update BucketId when using Lobbies

Hello,

We are implemeting multiplayer with OSSV2 and the lobby service.

For faster searching, we would like to update the BucketId specified in the lobbies (e.g. by adding the player region) but it seems the BucketId is hard coded in the plugin when creating a lobby.

In FLobbiesEOSGS::CreateLobby, it uses FLobbyBucketIdTranslator to get the BucketId but I see no way to override it (except by overriding the whole function). Of course we would also need a way to specify the BucketId when searching for lobbies in FindLobbies.

When using sessions, it looks like we could use a specific key “EOSGS_BUCKET_ID_ATTRIBUTE_KEY” when creating the session but I cannot see the same processing when using lobbies.

So if there is no way to specify the Bucket Id when using the lobbies, would it be possible to add it?

  • When creating a lobby
  • When searching for lobbies

Thanks

Thierry Milisen

Hello, the BucketId for lobbies is indeed hardcoded. I’ll create a Jira for us to fix this in a future release. In the meantime, to workaround the issue, I’d recommend following the same approach that was integrated for sessions.

At the SDK level, we highly recommend using BucketId as it’s the primary key used during lobby/session searches if it is passed in the search parameters.