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

Get Contents of Folder Using UnityWebRequest

I'm using UnityWebRequest to grab files from the StreamingAssets folder in Android. At the start of my game I want to copy all the files from StreamingAssets to persistentDataPath so I can use normal...

View Article


Finish UnityWebRequest before going further in Code

Hello people! The last few days i struggled with the following problem: my output should look like this -> First Log, Second Log some response data, Third log But in fact it always looks like this...

View Article


Error in BUILD with UnityWebRequest but not in Editor

Hello i have the following code that's work perfectly in Editor but just crash in .exe buil and WebGL. In WebGL i have the followings errors. An error occurred running the Unity content on this page....

View Article

Unknow error webRequest

I'm doing an apk which when I run it on my cell phone gives me the following error "Unknow error" but the strangest thing is that if it works normally when I run it from unity, I used the following...

View Article

http url not work in webgl (unity2019.3).

**HTTP** URL not work in WebGL (unity2019.3). why **HTTP** URL respond unknown error. **HTTPS** URL working fine. when try to download data (ex: Texture) from **HTTP** URL using UnityWebRequest it show...

View Article


UnityWebRequest works fine until second start of unity

Hi Forum, I'm experiencing strange behaviour with a UnityWebRequest. When I start the game the first time after Unity launched, it returns the expected string, also when called several times - when...

View Article

Unity MacOS notarization - libcurl.dylib: The binary uses an SDK older than...

Using Unity 2019.1.8f1 on MacOS 10.13.6 High Sierra I've been trying to put our app through the MacOS notarization process, so that it doesn't trigger Gatekeeper alerts when downloaded & run on...

View Article

UnityWebRequest POST Fail on Samsung Note8

i use UnityWebRequest post data,it's work good,but just on Samsung Note8, UnityWebRequest responseCode = 0, error ="Unknow Error" i already try set useHttpContinue = false, but it's no use, i try to...

View Article


How to send a UnityWebRequest.GET with a raw json body?

How can I send a UnityWebRequest.GET with a raw json body? There is no overloaded function of **UnityWebRequest.Get** that let me send a bodyData just like **UnityWebRequest.Post** or...

View Article


Unity 2018 hits don't show in Google Analytics

Since moving to Unity 2017/2018 from Unity 5.6, suddenly analytic data to Google Analytics does not arrive anymore. The server says 200 (ok) and there are no errors whatsoever. If the same url is used...

View Article

Does AWS work with hololens for asset bundle downloading and general GET,...

Hi, I am new to web services and I am going to start a hololens project where I have to download assetbundles hosted in cloud and preferably AWS. I also need basic web services like GET, PUT, POST....

View Article

Wait for page to load before getting HTML from website

I am using UnityWebRequest to get data from an api that I created. It uses javascript/jQuery to get data from a server and I used ajax to stop the page from loading before the api gets the data. I need...

View Article

How do I have multiple UnityWebRequests in one coroutine?

I have a DLC scenario in my mobile app. It's one download button that will retrieve 2 asset bundles from HTTP links. I've set up an IEnumerator that goes through a UnityWebRequest, gets the asset...

View Article


Weird problem with Async Task and UnityWebRequest

Hi everyone Currently, I am struggling with a weird problem. I am using UnityWebRequest to retrieve data from an API and I am using async Tasks to do this. This is a basic working task which awaits the...

View Article

Android can't download the audio

Hi all, I write the code ,that I want to use TTS ,and it's can work on PC not Android. Why it can't work on Android ? IEnumerator DownloadTheAudio() { string url =...

View Article


Unity Web Request fails after exporting

Hey everyone, I'm using UnityWebRequest in order to make a request on my android app. This works perfectly on the editor and I get the correct response code in a blink of an eye. But after I export the...

View Article

Android crashes while receiving multiple files from UnityWebRequest

Hi guys, i have a problem puzzling me for some days. Basically i have created a grid of sprites and i am downloading many pictures from the web. The problem is that my app crashes if i download many of...

View Article


Image upload API works with postman but not working with Unity.

I'm using Unity 2018.3.14f1. I have created API for uploading image in php. Which is working well in the postman and not working in unity editor, All the time it gives me following log "HTTP/1.1 403...

View Article

How to send a report to server when the game is being closed?

I'm writing a plugin for Unity which needs to `yield return UnityWebRequest.SendWebRequest()` at some points in the game session. Ideally, I also need to send such request if the user closes the game...

View Article

Is the UnityWebRequest header of Android build of Unity2019 correct?

I noticed that after upgrading to Unity 2019.2.3, the UserAgent on Android builds is the same as on UnityEditor. Has the specification changed? ![left Unity2018.4 right Unity2019.2][1] The unity...

View Article
Browsing all 387 articles
Browse latest View live