question

Andy Pickard avatar image
Andy Pickard asked

Send an invite to another player with Lobby (Unity)

I'm trying to put together a Lobby system where players can create a lobby, invite their friends and then join a matchmade game together in Unity, using the playfab multiplayer unity SDK (https://github.com/PlayFab/PlayFabMultiplayerUnity).

My problem is, it seems like there should be a method (PlayFabMultiplayer.SendInvite()) to send an invite to another player - and this method is mentioned in the documentation, and has event callbacks associated with it (eg: https://learn.microsoft.com/en-us/gaming/playfab/features/multiplayer/lobby/unity-multiplayer-api-reference/playfab.multiplayer/playfabmultiplayer.onlobbysendinvitecompletedhandler) but there is no such method available.

Am I doing something wrong? Is there an alternative method to send an invite? Or a better approach altogether?

NB: Looking for a Unity/C# solution, I can see there is more documentation for the C++ SDK, but that's not much use to me.

multiplayer
10 |1200

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

1 Answer

·
Gosen Gao avatar image
Gosen Gao answered
10 |1200

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

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.