public Player GetPlayer()
{
return new Player
{
Data = new Dictionary<string, PlayerDataObject> {
{"PlayerName", new PlayerDataObject(PlayerDataObject.VisibilityOptions.Member, ChosenName) },
{"Chats", new PlayerDataObject(PlayerDataObject.VisibilityOptions.Member, CurrentChat) },
{"CreateChatGui", new PlayerDataObject(PlayerDataObject.VisibilityOptions.Member, "0") }
}
};
}
When running this function to instantiate a player and instantiate its data when using Unity Lobby Services, I cant get a non Null result out of it. This hasn’t always happened and it is only a new issue. I am new here so any tips would be helpful!