Search Unity

Network issue. Weird problem resolving host

Discussion in 'Scripting' started by ShabihDesperado, Apr 7, 2015.

  1. ShabihDesperado

    ShabihDesperado

    Joined:
    Oct 27, 2013
    Posts:
    41
    Hi,
    I have an issue with some forms that I'm sending to the server. It's a weird problem because this script were made months ago and work fine. I checked the server and it's working fine too, in fact, it works fine the first time I run unity but after this is not able to connect again. It's working every time I reboot unity or the computer but I get this error later:
    "Resolving host timed out: myhost.myhost"
    I'm using Unity4.6.3 pro and my code is:
    Code (CSharp):
    1.  public void Login(string nickname, string password)
    2.     {
    3.         string url = urlBase + "login.php";
    4.  
    5.         WWWForm form = new WWWForm();
    6.         form.AddField("username",nickname);
    7.         form.AddField("password", password);
    8.         WWW www = new WWW(url, form);
    9.  
    10.         StartCoroutine(WaitForRequest(www, QueryType.Login));
    11.     }
    Edit: I've Uploaded the project to Unity 4.6.41f
     
    Last edited: Apr 7, 2015
  2. ShabihDesperado

    ShabihDesperado

    Joined:
    Oct 27, 2013
    Posts:
    41
    Of course it's a problem that I'm having with unity, a bug. Is there a patch that maybe could resolve this issue?