Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

UnityWebRequest DNS resolution inconsistent

Discussion in 'Editor & General Support' started by Mandelboxed, Feb 2, 2022.

  1. Mandelboxed

    Mandelboxed

    Joined:
    Apr 17, 2015
    Posts:
    50
    We're running into a very strange problem where DNS resolution will fail following an application update. This only happens to a subset of users, but we have not been able to find a reliable fix.

    These users claim to have stable internet connections, no trouble with other apps, and they are unable to resolve maps.googleapis.com, graph.oculus.com, or perf-events.cloud.unity3d.com, yet are still able to write logs to Unity Cloud Diagnostics.

    We see this in the logs: "Curl error 7: Failed to connect to maps.googleapis.com port 443: No route to host"

    The same user was able to load Google Maps without any trouble on the same device through his browser. The problem perists through application restarts, device restarts, router resets, etc...

    This is happening on Android devices (specifically the Oculus/Meta Quest 2). Our app is built using Unity 2019.4.32.

    We've not been able to reproduce the problem on our own devices. Any guidance and/or suggestions that anyone can offer would be very much appreciated.
     
  2. dipacs

    dipacs

    Joined:
    Jun 10, 2019
    Posts:
    1
    I'm also experiencing exactly the same with Meta Quest 2. Only a small subset of users, unreproducible on our devices. Did you figure it out?
     
  3. Mandelboxed

    Mandelboxed

    Joined:
    Apr 17, 2015
    Posts:
    50
    No. It has been a persistent problem for years. I would love to know if you find a solution.