Region is none

Options
Hi, I'm trying to get a list of regions for players. I've manage to get 'a' list, but there is an issue:

http://i.imgur.com/lLcm2pb.png

As you can see many of the regions are 'none. This is the code I'm using:

if (networkingPeer.AvailableRegions != null)
{
foreach (Region region in networkingPeer.AvailableRegions)
{
regionText += region.Code + " (" + region.Ping + ")" + "\n";
}
text.text = regionText;
Debug.Log("regions=" + regionText);
}


and in my Start() function:


networkingPeer = PhotonNetwork.networkingPeer;
networkingPeer.ConnectToNameServer();
StartCoroutine(PhotonHandler.SP.PingAvailableRegionsCoroutine(false));

Any idea why the region codes are coming back as 'none' ?

Comments