How to Fix connect with Master server?

Hi ,
Iam sufer from this problem
("Connect() to 'ns.exitgames.com' () failed: System.Net.Sockets.SocketException (0x80004005): Could not resolve host 'ns.exitgames.com'
")
This problem appear when i trying to connect with master server with code : PhotonNetwork.ConnectUseingSettings
Iam using Photon PUN2 - free
Unity 2019.1.4
Please help me

Answers

  • JohnTubeJohnTube mod
    edited August 15
    Hi @MohamedAhmed,

    Thank you for choosing Photon!

    There already similar reports here and we're looking into this.

    Does this happen on Editor?
    Are you building for Android?
    If you can switch Scripting Backend to IL2CPP or Mono version to 3.5 and try again I think that would solve it.


    EDIT: I misread the error message.
  • @JohnTube

    This problem happen because of the internet company , i tryed to use VPN and it work very good

    But this problem fix to me only, if i share this game the same Error will happen or no ?
  • Im facing a similar problem.
    Sometimes even after login, and "Connected to Lobby" callback, I cant create a room => "not connected to master". Also after leaving a room (changing scene).

    Fallback cases to reconnect in these situations help, but sometimes a reconnect is necessary.

    Using
    Latest Photon v2 version
    Unity 2019.1

    Didn't tried to change to ilcpp.
Sign In or Register to comment.