WebException: Error: NameResolutionFailure
**I added the Gamesparks SDK and after that when I tried to create a new game on gamesparks but this error keep showing in my console.** WebException: Error: NameResolutionFailure...
View ArticleWhy is my WebGl build throwing a CORS data error?
I am trying to use the video player component in a WebGL build on my wordpress website to play a video from a Vimeo direct link. It works in the editor and I can play the video in an html video element...
View Articleam i using Http request correctly
its been awhile since i worked on this, i remember that when using http requests it wouldnt wait for my request to be finalized. so i spilt it into two functions , and it works, altho it seems slow ......
View ArticleEstablish a constant connection to a web server
I'm trying to create a connection between a unity game and an web server. Essentially there's 3 parts to the project I'm working on, the main game, a mobile app, and the web server. The Mobile app is...
View ArticleHow do I get into the data returned from a UnityWebRequest ?
I used the example from the unity manual and threw in more Debug.Log lines to show status: IEnumerator GetText() { UnityWebRequest www = new...
View ArticleUsing HTTPS
Hi all! I'm trying to communicate with a backend server using SSL. I tried using WWW, but changing http:// to https:// dowsn't work (it connects, but doesn't check the certificate, so the connection...
View ArticleRecursive Coroutine-starts with RestSharp stops at the first callback which...
I have been using UnityWebRequest for REST calls through Unity but for a certain project I had to choose another option and started testing RestSharp for Unity...
View ArticleHTTP Requests removed on Android Pie (API 28+)
Hello, i have an app which needs HTTP requests to my server to work, and it works fine on every device(iOS and Android) except Android 9.0 Pie (API 28+), and i can't get it to work. After some research...
View ArticleHttp post request - dictionary as value
I'm trying to do a POST request using http in Unity, based on curl request. That's my current piece of code: var identifiers = new Dictionary { {"os", "Windows 10"} }; string s = string.Join(";",...
View ArticleUnityWebRequest not working junt in Android with unity 2018.3.x
I'm having this weird problem... I have a game that uses UnityWebRequest to make some GET requests, and it works fine on unity editor and when compiled to ios. But just on Android devices, this same...
View ArticleUnityWebRequest returning responseCode 0 and isNetworkError == true for Unity...
From my Android app I execute a http PUT request with JSON: UnityWebRequest www = UnityWebRequest.Put(fullUrl,json); www.SetRequestHeader("Content-Type", "application/json"); yield return...
View ArticleFinish 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 ArticleUnityWebRequest change billing receipt iOS
We have a game on Unity 2019.1.10f and have a problem. When we try to buy any pack in our game (iOS platform) can be two ways: we can't buy the pack or we can get an endless loader. When we get the...
View ArticleUnity 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 ArticleGet data from REST works on Unity but not on Android Device
I'm working on a project where I get data from an url which provide a json string data. This works on Unity but it's not working on Android Device. Am I missing something? ![alt text][1] [1]:...
View Articlecan we send data to GET api?,can we send data to get type api ?
**http://13.127.138.63:8008/api?answer=no&next=1** (GET api) I trying with below code, it show 405 error. void Start() { StartCoroutine(Upload()); } IEnumerator Upload() { List formData = new...
View ArticleWhy do I get Parse error (code 400) from Google Ftiness API in Unity?
I am trying to read steps count from GoogleFitness API in Unity application. First I go to Google's OAuthPlayground, authorize the fitness api and copy the access token. In Unity I have a scene with...
View ArticleUnityWebRequest and System Proxy
I have a server running on a machine with *ip = 192.168.79.12*. I have a proxy on a machine with *ip = 192.168.79.24*. On my machine where I'm running a builded Unity app (v2019.2.13f1), I have a...
View ArticleError CS1061: 'HttpWebRequest' does not contain a definition for 'ContentLength'
I'm currently working on a project that has a hololens communicating to a device on a http-server via json post-requests. And all is working fine, until I want to post more than a command to the...
View ArticleAuthorization using OIDC codeflow help
Hi, I am trying to work through how to properly get an authorization method setup and running in Unity utilizing the OIDC codeflow and have run into numerous roadblocks. I have found some other methods...
View Article