Capturing and Tracing All HTTP Requests in Unity project
I'm trying to find a way to capture and trace All HTTP Requests made in my Unity project. So far I've tried using SharpPcap and Fiddler Core to capture TCP packets and parse out the HTTP data. I've...
View ArticleUnityWebRequest, C# request.accept equivalent?
Hello, I have tried searching for this question but I either cannot word it properly, or I just don't understand it enough to know what to look for. I am trying to send a UnityWebRequest, but I need to...
View ArticleUnityWebRequest, C# request.accept equivalent?
Hello, I have tried searching for this question but I either cannot word it properly, or I just don't understand it enough to know what to look for. I am trying to send a UnityWebRequest, but I need to...
View ArticleHow to abort UnityWebRequest when exiting play mode?
When I exit play mode, I have a never-ending web request logging data into my console. How do I abort the web request when exiting play mode? Use case: I'm using web requests to communicate with...
View Articleunity WebRequest - Windows security
Hi guys I have problem with Windows Antivirus I downloaded a zip file from the IPFS My code : using (UnityWebRequest wwwAssetsDownloader = UnityWebRequest.Get(JsonData[3])) { yield return...
View ArticleUnityWebRequests constantly fail with 'SSL CA certificate error' on the...
## Question ## Am I missing something obvious, or should I submit an issue? ---------- ## Description ## When trying to communicate with an API hosted on Azure (.NET based) the requests work well in...
View ArticleUploading 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 ArticleHow 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 ArticleUsing 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 ArticleUnityWebRequest 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 ArticleUnityWebRequest.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 ArticleUnityWebRequest.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 ArticleObject 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 ArticleCurl 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 ArticleWhy 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 Articlehow 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 ArticleUnity 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 Articlehow 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 ArticleFirebase 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 ArticleCan'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 ArticleWhat 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 ArticleConverting 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 ArticleHave 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 ArticlewebRequest 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 ArticleHow do you upload an AudioClip to a server?
My current approach is to take an AudioClip, turn it into a byte array, then put it into an UploadHandler, attached to a UnityWebRequest, to send a POST request to a server. Right now, when I pass...
View ArticleHandling internet connection status the fastest way
I am currently implementing an Internet connection status handler popup for an app, i activate certain popups the moment the user has internet connection or not. So far i have been testing with...
View ArticleUnityWebRequest.Put to AWS S3
I'm using the documentation shown in the link below to try and put some data into a .txt file I've got on my AWS S3 account: https://docs.unity3d.com/ScriptReference/Networking.UnityWebRequest.Put.html...
View Articlei want to pass header in login API using unity web request
using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; using UnityEngine.Networking; using UnityEngine.UI; public class Login : MonoBehaviour { [SerializeField]...
View ArticleHow can I connect to OBS Websocket server and get the scene into Unity
I noticed that OBS has a Websocket server in-built, which provides us a port and everything. I am thinking if there is a way to access that Websocket server and retrieve OBS Virtual Camera feed...
View ArticleAdding variables as a parameter in a URI or URL
I'm trying to get an object from a Back 4 App database. The URI only seem to work if I hard code the parameters. This works: string uri =...
View Article