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

How to use Unity Web request Multimedia to download FLAC audio File and...

hi there! I have some audio files in FLAC format and for the sake of maintaining the audio quality I want to use FLAC audio formats the problem is unity 2020 has a support for FLAC file now but when i...

View Article


UnityWebRequest cannot receive data in some urls response

Hey guys. I have some problems with UnityWebRequest. I have several URLs to communicating with my server. Some URLs working fine expectly and other few URLs not working expectly. It's a weird thing...

View Article


Getting cast error from UnityWebRequest for an image

I am trying to load an image from a URL http://openweathermap.org/img/wn/{code}@2x.png. But I get cast error on loading IEnumerator GetWeatherImage(string imageCode) { Debug.Log($"Code received...

View Article

Issues with UnityWebRequest GET on Android

Hi everyone and thanks for your help! I am trying to ask my web application if a user is ok to connect or not and I am currently struggling with webrequest on android. First I worked with...

View Article

UnityWebRequest connects to the server in Editor but not in Android

Hello. I am with this problem that I can not find a solution to. Using **UnityWebRequest PATCH** (Unity 2017.4.31f1) to communicate with the server, if I test from the **Unity Editor** it **works...

View Article


Does UnityWebRequest.Abort also dispose the request?

When using [Abort][1] right before [Dispose][2] I receive a > System.ArgumentNullException : Value cannot be null. > Parameter name: _unity_self public void Cancel() { _canceled = true; if...

View Article

how to get a text file/ video from azure blob storage to unity3d game Object...

Hello everyone, I am making a Project which I want to load different Text file and a Video from Azure Blob Storage to unity. Actually I am a beginner and have no Idea how to Start. I wish I could find...

View Article

Get Data from cloud to unity3d using unity web request

Hello, I have a video which I upload it on azure cloud and I want to load it in unity on 3d object. the point that if I want to change the video so I don't need to enter on unity and change it , I want...

View Article


Get data from Server

Hello everyone , I want to get different texts from server to Unity Text Mesh Pro component and the script works well and I can get for example 1 Text but I didn't know how to manage the script for...

View Article


why Video from a server doesn't appear in unity only voice ?

In my Project I want to load a video from azure server through a JSON file . to get the video is good it works but it doesn't show the video you can only hear the voice. I get many errors too as you...

View Article

How can I fill a list with images from an external source?

I have made a JSON file which contains items. Each item also has an image. The JSON file contains image URL's to images online. I want to use these images in my game. Ive made an item class which looks...

View Article

UnirtyWebRequest.Post sending empty uploadHanlder.data

Hi, A have a problem with unityWebRequest.Post, in the capture it says "Put" but I changed to test a solution in other foums but is not working, The problem is that the data is no being populated The...

View Article

Try catch alternative for HTTP request

Hello, When connecting to a REST api, randomly and in some android devices I get errors when doing a POST. The errors are allways Curl error.... and they usually appear when the users are connected to...

View Article


Send WebRequest with Dto/object in body

How do I send dto's (or any serializable class) to/from the server? The server doesn't use strings but uses dto's instead. I tried an upload handler and various tutorials and manuals but none work for...

View Article

I have some deprecated errors with WWW someone knows how to convert this...

/*this is obsolete use UnityWebRequest*/ WWW www = new WWW("http://localhost:8888/action_login.php", form); yield return www; if (string.IsNullOrEmpty(www.error)) { /*this is obsolete use...

View Article


UnityWebRequest old header info

Hi I am working on a project where I need to check the date of a file on a server and download the file if the file on the hdd is older that the one the server. I can get the 'last-modified'...

View Article

UnityWebRequest is dragging everthing down!

Recently, We built a new version of our project with Unity 2020.3.13f1, but we found that the response speed of UnityWebRequest was unprecedentedly slow! API response speed in Unity 2020.3.13f1 is 0.80...

View Article


data property of DownloadHandlerAudioClip always returns null

I used DownloadHandlerAudioClip and UnityWebRequest classes in order to get an audio from a url. audio gets downloaded properly and I can play it using audio source but I can't access raw downloaded...

View Article

Save Remote Addressable Sprites

I can able to setup Remote Addressable sprites within my project. Total 445 high-resolution sprites I was downloading, loading, and unloading within my game but on each new run of the game, it, again...

View Article

Can you post a json string as a body in Unity?

I'm trying to post a json string as the body of a UnityWebRequest but it just fails throws protocolerror and doesnt work. I can post using postman. I can get data using pretty much the exact same...

View Article
Browsing all 387 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>