Quantcast
Channel: Questions in topic: "webrequest"
Browsing all 387 articles
Browse latest View live

UnityWebRequest seems to crash application on Application.Quit()?

Our application on startup creates a number of UnityWebRequests to download some data. If we quit the application right after we've launched it, and the requests are still active, we seem to experience...

View Article


403 forbidden error when loading client certificate

Hi I have got a client certificate (.p12 file) for a cloud service. it works with .net regular project - tested in .NET 2.0 as well. But in Unity it throws an error ** WebException: The remote server...

View Article


Read from node js via c# with Unity

I am programming an application for the hololens (Platform=>UWP) with Unity3D. ---------- Currenty, my NodeJs Server writes one value (that is updating all the time) in a file IP-ADRESS/value.txt...

View Article

New UnityWebRequest How Can I Handle the responses ??

Hello everyone, I want to change my old codes to new classes because I want to build project to WebGL I was using, WWW class for post requests and get responses Sample Code for old usage public...

View Article

Cannot access StreamingAssets on hololens emulator using WWW or...

Hello everyone . I am working on an hololens application and until yesterday i was able to simple load a UI image from the streaming asset path . Today with the following code string completePath =...

View Article


Unable to call web data ("TlsException: The server stopped the handshake")

Any help is appreciated here, as this bug is breaking my game :( ---------- I'm trying to call a web JSON API to fill some text in my UI. I'm using the code below to get the raw JSON. Up until now it...

View Article

UnityWebRequest read body response

Hy, I am trying to read the body response from a call to a server. The problem is that I get this error: NullReferenceException: Object reference not set to an instance of an object I can read the...

View Article

Adding Custom Headers/Cookies to the UnityWebRequest.Post

Dear developers, I have problems about adding custom headers to my web requests. I would be appreciated if you help me. UnityWebRequest www = UnityWebRequest.Post(Url, form);...

View Article


How can i apply web proxy server in code for UnityWebRequest?,How can i apply...

I'm trying to apply a web proxy server to speed up the traffic between client and server of our game for some region's player, we are using UnityWebRequest for all the request, is there a way to apply...

View Article


How to get audioclip from UnityWebRequest

Hey guys! I'm sending a post request to the Bing speech API in order to convert text to speech. I'm using for that the **UnityWebRequest** to send my **HTTP POST request** with headers... this is the...

View Article

Downloading and caching assets bundle failed to receive data error

if(www.isNetworkError || www.isHttpError) { Debug.Log(www.error); } The error comes in this part , the assets bundle never finish to download, its seems to be uploaded correctly via binary transfer ftp...

View Article

Multiple UnityWebRequest Headers returning 408 Timeout HttpError

I am trying to invoke the Microsoft Bing Text to Speech API in Unity3D. This API requires an accessToken and other parameters that will be passed in the request headers. First of all, in order to get...

View Article

UnityWebRequest blank error message on Hololens

Hello, I'm trying to hit a REST API endpoint using UnityWebRequest on the Hololens. Works find locally, but fails on the Hololens. The isNetworkError flag is true, but the error message is an empty...

View Article


Android Download asset bundle locally

Hi All, I try to fetch the Asset bundle stored locally on Android. After going through Unity documentation and searching through forums, these are my findings: 1. AssetBundle can be fetched locally on...

View Article

Upload files to a remote form using C# in Unity

I have an HTML [page][1] with a form for uploading files to SmartFile. Below is the piece of C# code that I am using to upload the files from my game in Unity to this url. WWWForm fileForm = new...

View Article


WWW is working but Web Request is not Working

I am Requesting a custom web API by www and it works fine but when I replace it with UnitywebRequest then the post method is not even sending the data. *This works fine* IEnumerator SendDa() { WWWForm...

View Article

Whats happened with the Asset Bundle Manager?

The Asset Bundle Manager is deprecated? Why? I need to load Asset Bundles via Runtime from a Web server? Is There another or a newer Way to achive this? I dont really want to use components which are...

View Article


MultipartFormFileSection not adding files to the webrequest! Need some...

My API keeps telling me that no files where uploaded when using Unity app. Everything works perfect when testing with postman. I had no problems with WWW class when uploading files, but since I wrote...

View Article

Upload progress of file on unity WebGl

I need to show the upload progress of a file I´m uploading to a certain server, most likely a video, with my actual code the video does upload to the server after some time. The documentation aboput...

View Article

How to get UnityWebRequest to work for downloading JSON

Hello, I am trying to download a simple JSON file that is stored in the Streaming Assets Folder in my WEBGL Build. The problem is that I have to wait for the download to finish, since this data is...

View Article
Browsing all 387 articles
Browse latest View live