Hello all, I am trying to create lobby. But I got error like "The list of members is empty". How can i fix it? Here is my code. I couldn't find any documention about creating lobby in unity.
public void CreateLobby() {
var createRequest = new CreateLobbyRequest()
{
MaxPlayers = 2,
OwnerMigrationPolicy = OwnerMigrationPolicy.None,
Owner = new PlayFab.MultiplayerModels.EntityKey()
{
Type = _entityKey.Type,
Id = _entityKey.Id
},
UseConnections = true,
};
PlayFabMultiplayerAPI.CreateLobby(createRequest,
result => { message.text = "Created lobby";},
OnError
);
}