question

dylan-1 avatar image
dylan-1 asked

Unfiltered "Find Friend Lobbies" returns 0

https://learn.microsoft.com/en-us/rest/api/playfab/multiplayer/lobby/Find-Friend-Lobbies?view=playfab-rest#findfriendlobbiesresult

Find friend lobbies isn't working for me - is there a minimum requirement for requests that's undoc'd?

  • A and B are PF friends, confirmed via web portal.

  • A logs in and creates a public lobby, success with id.

  • B logs in and lists friends in lobbies with an empty request (unfiltered), success but 0 lobbies found.

What's missing here? Using the Unreal marketplace plugin.

apissdksunrealdocumentation
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Gosen Gao avatar image
Gosen Gao answered

By default, the Lobby needs a connected entity to be searchable. For more details, please see UseConnections section in CreateLobby API.

PlayFab Marketplace Plugin for Unreal is based on RESTful API and can't be used to establish the connections. To create a connected Lobby, please use PlayFab Multiplayer SDKs.

Otherwise, if you do not need real-time notifications, you can set UseConnections to false and also OwnerMigrationPolicy to None, then lobbies do not need connections to be searchable.

4 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

dylan-1 avatar image dylan-1 commented ·

Hmm, what is the point of making a stateless lobby? I'm confused -- why would that not be front and center of the Multiplayer/Lobby/CreateLobby API doc? That's a pretty huge chunk of info missing.

Does that mean that updating the lobby also does nothing if created from the marketplace SDK?

Wait, you want me to use the OSS SDK? I just got rid of it after finding out the limitations of the Matchmaking. This makes no sense; why have these SDKs if they only partially functional without heavy warnings in the API docs and SDK inline?

If I create a lobby with OSS SDK, I thought I can't use any of the Multiplayer/Lobby calls to interact with it (like matchmaking)? Or is this different from Matcchmaking in that sense (I create the lobby with OSS, then do the rest in Multiplayer/Lobby)?

0 Likes 0 ·
Show more comments
dylan-1 avatar image
dylan-1 answered

The real answer, I discovered, is not that the marketplace SDK Multiplayer::Lobby::CreateLobby is stateless (like PF staff claimed above), but is a breaking bug, proved here in this doc (via commit 4420065 on Dec 16, 2022, if updated after this).

TzTe27T.png

This (and the API docs failure to mention it's stateless, which no one could possibly want) proves that the lobbies via this namespace are advertised to be stateful, but are unexpectedly stateless, breaking the module.

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

JayZuo avatar image JayZuo ♦ commented ·

Sorry for the confusion here, I've answered your new question, please check the answer here: https://community.playfab.com/questions/69453/marketplace-sdk-mplobbycreatelobby-is-meant-to-be.html .

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.