Search Unity

Failed to connect to master server at...

Discussion in 'Multiplayer' started by thylaxene, Feb 4, 2008.

  1. thylaxene

    thylaxene

    Joined:
    Oct 10, 2005
    Posts:
    716
    Hi,

    If we are having internet issues, like when our router has gone down I will get this error thrown up by the Editor: Failed to connect to master server at 83.221.146.11:23456.

    I was wondering if there is anyway I can test for that and present the end user with feedback/options if it happens in game?

    Cheers.
     
  2. larus

    larus

    Unity Technologies

    Joined:
    Oct 12, 2007
    Posts:
    280
    If you try to register a host or retrieve a host list from the master server, you get a OnFailedToConnectToMasterServer callback in case it has failed to connect.
     
  3. thylaxene

    thylaxene

    Joined:
    Oct 10, 2005
    Posts:
    716
    thanks larus for re-pointing that out to me... I already had that function in my code... its error message was just going into the wrong variable! I hate it when I forget what I implemented in my own code!

    Cheers.