Accessing X509Store returns zero certificates
I need to do HTTP web requests that require a client X509 certificate to authenticate. I want to use the X509 certificates that are already installed on the computer. When I query the store for the...
View ArticleUnityWebRequest: Out of memory
Sometimes we got error in editor when using UnityWebRequest. Error: Out of memory ResponseCode: 0 Looks like it only appears in Editor. After restarting Unity this error disappears. How can fix it?
View ArticleHow to avoid reestablishing an HTTPS request, use Connection: Keep-Alive or...
Hi I have an application which uses HTTPS to communicate with an API. Establishing the initial handshake and connection is killing our performance. When profiling with Apache's ab tool the time it...
View ArticleDownloadHandlerAssetBundle from password protected ftp server on Android
Is it possible to use the DownloadHandlerAssetBundle (UnityWebRequest) to download from a password protected ftp server on Android? I got it working on PC by using this format for the url:...
View ArticleHow to purge cookies set previously in header with UnityWebRequest
Hi guys, We have php sessions set up in my team's game but we're having problems deleting/purging cookies after receiving them and setting them in our database controller. The Unity Editor doesn't seem...
View ArticleGet redirection URL from UnityWebRequest
I am issuing a UnityWebRequest with a URL that has redirection involved. The redirection is being logged as a warning by the compiler. Is there any way of accessing that redirection URL? I've tried the...
View ArticleHow to constantly get new JSON information with GET request from a stream?...
Hello :) I have a task to learn how to use various API's and I managed to connect and send simple GET requests (I am using this API and this is one of the examples:...
View ArticleProblem to get texture2D in IEnumerator with UnityWebRequest
Hi, in my app I get text and picture from a php script to built a news. I get the without problem with text with : UnityWebRequest www = new UnityWebRequest(m_SendURL); www.downloadHandler = new...
View ArticleProblem to get texture2D in IEnumerator with UnityWebRequest
Hi, in my app I get text and picture from a php script to built a news. I get the without problem with text with : UnityWebRequest www = new UnityWebRequest(m_SendURL); www.downloadHandler = new...
View ArticleError getting response stream (Write: The authentication or decryption has...
Hello! I have a script that call a webservice over https build with swagger in C# and I´m getting: Error calling AuthenticatePost: Error getting response stream (Write: The authentication or decryption...
View ArticleIs it possible to either Clone or Re-Send a UnityWebRequest?
We've recently started using UnityWebRequests and something that it is lacking is some way to dictate how many retries it should do before failure, and a manual timeout timer. No big deal, we'll just...
View ArticleUnityWebRequest.Post() has multipart/form-data strangely formatted when...
A note before beginning, I know that WWW and WWWForm work, but since Unity is trying to get people off of that system, I would like to know why their new system breaks in my case. I'm using Unity 5.6...
View ArticleBest cross platform Http Library?
I'm building a multiplayer game with a custom Java Spring Boot backend. Unity will be the frontend client to this application in order to be able to ship the game to all major platforms. In order to...
View ArticleMultiple headers with UnityWebRequest
Hi, im trying to make a Post request using UnityWebRequest, and the endpoint in using requires me to have 2 headers: Content-type and Authorization, i tried to do this : using (UnityWebRequest www =...
View Articlefailing to download assetbundle manifest object with UnityWebRequest
I can download an assetbundle file via UnityWebRequest without problems, I can load/unload and all. The problem is, I've yet to successfully download a manifest file (same filename with .manifest...
View ArticleMultiple headers with UnityWebRequest
I trying to make a Post request using UnityWebRequest, and the endpoint in using requires me to have 2 headers,but I get unknown http error cant really find any good info about doing this in the new...
View ArticleWhy is www not returning?
I have the following Code which I call from StartCoroutine IEnumerator WaitForRequest(WWW www) { yield return www; Debug.Log(www.text); } For the most part this works. The web request is being made ( I...
View ArticleSetting up a web service in Unity?
Hi everyone, since I found a lot of answers regarding the question how to consume a web service within Unity. But now I have the scenario that I wanna realize a web service in Unity so that a web...
View ArticleUnityWebRequest Responds with 405
The response of 405 would lead me to believe that my method I'm calling in my web api isn't set to accept post. However, I can type the same url in fiddler and it works, but with Unity I get 405. What...
View ArticleHow to upload video on the server and show upload progress at same time while...
How to upload video on the server and show upload progress at same time while uploading the data using new unity web request. Please give me some example or code to come over from this problem
View Article