Https freezes the game for one second
When I make a request to the server, all the game freezes for a few seconds, I think that the game is waiting for a server response, there is a way to not wait for the server's response? This is my...
View ArticleWebRequest.BeginGetRequestStream fails on iOS using IPv6 DNS64/NAT64
Apple has recently made it a requirement for all apps to support IPv6 DNS64/NAT64 and I've been working to comply with this mandate. I followed Apple's directions for setting up a DNS64/NAT64 network...
View ArticleInternet Connection Check using 204 HTTPStatusCode
I've been working on an Internet Connection Checker... I've tried many things, from pinging to WebRequests, from RESTful APIs to socket beacons. The one thing I found most reliable and performatic,...
View ArticleHttpWebRequest Async not working on Android
The following simple code wants to download an asset bundle asynchronously from a given URL: private void GetWebContent(String _url) { Debug.Log("Creating webrequest with URL = " + _url); _request =...
View ArticleTrying to use PATCH on a UnityWebRequest on Android and getting 'Unsupported...
Hi Really hope someone can assist, we are using Azure Mobile App Service and everything works fine in the editor and on IOS, we only have a problem on Android when trying to update an existing record....
View ArticleGET image over HTTPS with unvalidated SSL certificate and authenication
I have a Raspberry Pi server where if I request GET `https://192.168.1.2/stream`, the server will ask for authentication, then provide a snapshot image of the webcam. I use `HttpWebRequest` for...
View ArticleDownload 6 textures from the web, create a cubemap and set it as skybox in...
In my app I need teh user to be able to download already prepared 360 photos, cut into 6 pieces. After that, the cubemap must be made, and loaded as a skybox, so that the user could explore 360 degrees...
View Article[ASP.NET] [WEB API] Problem with HttpWebRequest.ContentType
Hey guys, I'm trying to send an image taken from my webcam to a web API for processing. So I take a screenshot and store it in a Texture2D variable, then convert that to a byte[] by calling...
View Article[ASP.NET] [WEB API] Problem with HttpWebRequest.ContentType
Hey guys, I'm trying to send an image taken from my webcam to a web API for processing. So I take a screenshot and store it in a Texture2D variable, then convert that to a byte[] by calling...
View ArticleHTTPWebRequest.GetResponce not working on Android
I am trying to access data from IIS Server protected by NTLM protocol using HTTPWebRequest, which works fine on unity editor( windows ) but fails in Android Mobile App. I am getting 401 Unauthorized...
View ArticleHTTPWebRequest.GetResponce for NTLM protocol not working on Android
I am trying to access data from IIS Server protected by NTLM protocol using HTTPWebRequest, which works fine on unity editor( windows ) but fails in Android Mobile App. I am getting 401 Unauthorized...
View ArticleDate request header is missing from http request(UnityWebrequest)
I am trying to send a GET request to an API that requires the Date request header. However UnityWebRequest does not send it automatically (I have checked with https://requestb.in/) and I cannot set it...
View ArticleHttpWebRequest timed out behind proxy
Hi, I try to access web services behind a proxy. Until now, I used unitywebrequest but I understood that proxy configuration wasn't handled by them. So I changed my code to use HttpWebRequest as it...
View ArticleDoes overriding UnityWWWRequestDefaultProvider works for UnityWebRequest?
My project suffers from web cache problem in iOS client. We used UnityWebRequest with SetRequestHeader("Cache-Control", "max-age=0, no-cache, no-store"); SetRequestHeader("Pragma", "no-cache"); but it...
View ArticleHttpWebRequest with Networkcredentials
Hi, I am trying to access a URL using (HttpWebRequest)WebRequest.Create(urlAddress). by giving authenticate using Network credentials. But in UNITY3D its giving the below error. WebException: The...
View ArticleHow can I display text from a webrequest?
I am using a HTTP request to try and access a REST endpoint. I want to display the text I get in a canvas but I can't seem to get the output of the request to display in the Canvas. using...
View Articlewhy does UnityWebRequest want Dispose() ?
The [Unity Docs][1] state:> Signals that this [UnityWebRequest] is no longer being used, and should clean up any resources it is using.>> You must call Dispose once you have finished using a...
View ArticleUnityWebRequest error 0 in Editor, but not in WebGL build
I'm trying to send a UnityWebRequest to a server. It works perfectly on the WebGL Player, but not in the Editor private static IEnumerator SendWebRequest(UnityWebRequest webRequest, UnityAction...
View ArticleHow to change Host name in HttpWebRequest headers in unity .net 2.0?
I want to call a webpage by its ip address by adding custom values to request header for "host". "" Code: HttpWebRequest request = (HttpWebRequest)WebRequest.Create("http://1.1.1.1");...
View ArticleHTTP to WWW Help --Small Sample Code Conversion
Hey guys, seems that I have a similar problem as this guy: http://answers.unity3d.com/answers/1088100/view.html I'm new to network programming, and can't for the life of me get this small batch of code...
View Article