Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by ShabihDesperado · Apr 07, 2015 at 08:49 AM · networkwwwhostform

Network issue. Weird problem resolving host

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.4 pro and my code is:

         public void Login(string nickname, string password)
         {
             string url = urlBase + "login.php";
     
             WWWForm form = new WWWForm();
             form.AddField("username",nickname);
             form.AddField("password", password);
             WWW www = new WWW(url, form);
     
             StartCoroutine(WaitForRequest(www, QueryType.Login));
         }



Comment
Add comment · Show 6
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ShabihDesperado · Apr 07, 2015 at 09:17 AM 0
Share

Of course it's a problem that I'm having with unity, a bug. is there a patch that maybe could resolve this issue?

avatar image hbalint1 · Apr 07, 2015 at 10:36 AM 0
Share

The IP address of you server remains the same after all this time? $$anonymous$$aybe you should check it and change urlBase or if you are using dynamic DNS then take a look at that settings and change the IP.(If you are using public urlBase, then don't forget to change it in the Inspector too)

avatar image ShabihDesperado · Apr 07, 2015 at 10:40 AM 0
Share

I have the game in the same place. In fact I hace a web version of the game in the same server and I'm using the same php files in both versions (Editor and Web). Web version works fine

avatar image hbalint1 · Apr 07, 2015 at 10:51 AM 0
Share

hmm. I've never met this problem. Do you dispose the form after successful Login? www.Dispose() Also. Do you use the same C# code for Editor and Web?

avatar image ShabihDesperado · Apr 07, 2015 at 11:24 AM 0
Share

I'm using the same C# code for both version and I don't dispose. I'm trying to reproduce the issue in another project and I didn't get it yet.

Show more comments

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

19 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

WWW.texture provides a :"?" texture... 1 Answer

WWW on airport wifi with password 0 Answers

How to load file from local NAS ( Windows and Android ) 0 Answers

Network Client Connecting with different Maps 3 Answers

Upload files to a remote form using C# in Unity 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges