How to get the Server IP?

Hi there,

I'm trying to implement Matchmaker Backfill, for that I need to call CreateBackfillTicketAsync(); which requires creating a connection string of ip:port; but looking in the MultiplayService.Instance.ServerConfig; it only has Port and no IP.
How do I get that?


oh wow, it's the actual code monkey!

Have you tried using MultiplayService.Instance.ServerConfig ?

            var config = MultiplayService.Instance.ServerConfig;
            Debug.Log($"MultiplayService config: {JObject.FromObject(config)}");
            var ip = config.IpAddress;
            var port = config.Port;