GraphQL in Unity, is anyone using it?
I'm looking into the possibility to use a GraphQL client in unity but so far I can only find one library in the Asset store (https://assetstore.unity.com/?q=graphql&orderBy=1) and one opensource...
View ArticleAPI pagination
This will return all users from the leaderboard but the API has a limit of 1000 calls. I have in the leaderboard more than 1000 users and it's always increases. I need to save all the users to a list....
View ArticleHTTP Cookies not working on iOS,HTTP Cookies and iOS Builds
Hi there, I am currently developing a game which builds to both WebGL and iOS. To remember users, I store an HTTPCookie once a user logs into their account, which has a 14 day expiry. These cookies...
View Articlehow to download image and save to specific directory under Assets/.... ???
I am downloading Image from a server and saving to a specific directory under. Assets/... . its working fine in editor but not working on android. I added storage read write permissions but still not...
View Article,CryptographicException: Input data cannot be coded as a valid certificate.
I am trying to generate **X509Certificate2** certificate from **.pfx** file string Location = "C:/Users/SSB/Downloads/PFX file/CertificatePFX.pfx"; string pass = "0987654321"; X509Certificate2...
View ArticleCryptographicException: Input data cannot be coded as a valid certificate.
I am trying to generate **X509Certificate2** certificate from **.pfx** file string Location = "C:/Users/SSB/Downloads/PFX file/CertificatePFX.pfx"; string pass = "0987654321"; X509Certificate2...
View ArticleUnity Web Request: CORS error on WebGL hosted on AWS but works on editor
Hi everyone! As a part of my authentication system in my web gl app, I need to request the Squarespace API to check for orders to confirm that the current user has purchased a subscription. I am...
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 ArticleSecuring HTTP post request
Hello everyone ! I'm making http post request to my server to log the user and then send his bestscore. For that I'm using HTTPS post request. But i'm wondering, if someone decompile my game he will...
View ArticleUnity web request sometimes appear Error:System.Exception: Code:0...
My problem is that I use unity web request for hotfix. 90% of the time, players can perform web reqeust normally. Sometimes you will encounter Error:System.Exception: Code:0 Error:Cannot resolve...
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 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 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 ArticleCapturing 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 ArticleWhy is UnityWebRequest.Result.ConnectionError always true?
Everything worked yesterday. Now I have to comment out UnityWebRequest.Result.ConnectionError to make it work. IEnumerator GetScores(string url) { using (UnityWebRequest webRequest =...
View ArticleUnityWebRequest very slow
We found that when we built a project with Unity 2020.3.22 and noticed that the duration of sending a webRequest and receiving the response is really long! We also tried to build the project with Unity...
View ArticleDownloading multiple textures with a single http request (UnityWebRequest)
Getting a one single texture is not a problem. i've figured out how to do that. But i need a few thousands for which i dynamically generate url.. The problem is that by making an http request for each...
View ArticlePosting JSON data inside a form post urlencodes the json data
I need to send json data to a server that requires 2 parameters in a application/x-www-form-urlencoded format where the second parameter is the json data. I am porting an application from Xcode swift...
View ArticleTry 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