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

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


Uploading files to DropBox using UnityWebRequest.

Hello, i need to store game data in DropBox. Now i have the coroutine to download .json file from using UnityWebRequest, and it works great. But i am having difficulty in writing a Post method to...

View Article


How to insert webRequest data to prefabs before instantiation

I have a script in which I want to inject data to several prefabs before I instantiate them. my idea was to make a "for" loop in which every time I send a url from a url list (string) and inject the...

View Article

Using POST and WebRequest in Unity

Hey! I have a mini-system with MySQL and PHP and I need to connect it with Unity, for login, save high scores, etc. I used the example from here:...

View Article

UnityWebRequest Timeouts (some times) but postman success (always)

We have a published game with +50k active users. we are using unity `WebRequest` to get configs from our server, I noticed on the hours of day that requests to our server are high, we encounter a lot...

View Article


UnityWebRequest.Post manually create the Hash header,Hash header in...

Hi, I was inspecting a game and I noticed some of the requests, all HTTP POST requests, had an extra header in them, namely the 'Hash' header. However, this behavior seems pretty poorly documented. Now...

View Article

UnityWebRequest.Post to send a task to ClickUp's API, encoding JSON improperly

So I'm writing a program in Unity that sends tasks to a ClickUp list. I've been able to send the request through Postman for testing properly, but whenever I try to send that request through Unity I...

View Article

Object being created with last info

alright so im creating an object and its being created but theres a problem when its created it works but when i change something in the database i restart the game and it doesnt change i have to...

View Article


Curl error receieved when sending post request using UnityWebRequest

I am trying to post request via UnityWebRequest.Post method but got this error **Curl error 1: Received HTTP/0.9 when not allowed** Below mentioned is my code: WWWForm form = new WWWForm();...

View Article


Why does Post request to OpenAI result in error 400?

I am trying to use GPT3 in a game I am making but I can't seem to be able to call the OpenAI API correctly. I got most of this from the Unity docs. Here is the code I am using: public class...

View Article

how to load what WebRequest download

Hello 1- i want my game download a texture and save it in my harddisk 2- then Any time i need that texture , unity load that texture form my harddisk. i wrote a cod which do the first part(download...

View Article

Unity Web Request Texture Get Texture,Unity Web Request Texture Get Texture...

I'm trying to download some png's from urls, but the file size for some of them is almost 2mb which results in a long time for unity to grab and process them. If it was a jpg I could easily pass in...

View Article

how to get the unixtime from http://worldtimeapi.org/

Hi everyone; I'm not a good Cooder I'm still learning, can anyone help me with how can get the unixtime from the world time API website, http://worldtimeapi.org/ and save it as a public string?. Please..

View Article


Firebase User Photo URL - Download Image 400 Bad Request

Hello, I was able to successfully implement Google Sign in with Firebase Auth for my game. I was able to print the following without any issues FirebaseUser.DisplayName FirebaseUser.PhotoUrl...

View Article

Can't use UnityWebRequest in WebGL build

It just gives me an unknown error. Here's the code: UnityWebRequest www = UnityWebRequest.Get("http://cool-levels.x10.mx/Levels/" + id + ".txt"); yield return www.SendWebRequest(); returnValue = "Not...

View Article


What is the best way to communicate between to seperate Apps?

Hi, - Basically I want one app to tell the other app what to do. Specifically, the first app is controlled using a touchscreen and displays a 2D map which can be moved around. In the second App I have...

View Article

Converting from WWW to UnityWebRequest

I've been trying to make a register function for a database and have run into an issue with using WWW where I'm told its obsolete and to use UnityWebRequest, however when I switch WWW with...

View Article


Have data back from a Coroutine

Hi, I am using Coroutines to perform web requests and take things from my asset folder. I would like to know how can I have the info taken from the web request (which are strings or also images) out of...

View Article

webRequest timeout gives the following error " Native Collection has not been...

WWWForm form = new WWWForm(); form.AddField("username", loginData.username); // use userName form.AddField("password", loginData.password);// use pswd here using (UnityWebRequest www =...

View Article

Get URL from Unity Web Request

Hi all! My friend and I are currently working creating a game expanding on the Wikipedia Game. I'm currently working on setting the target page you have to get to in order to win. Luckly, wikipedia has...

View Article
Browsing all 387 articles
Browse latest View live


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