View Generated Source (After AJAX/JavaScript) in Unity
I am trying to download page source from a given site that heavily uses Ajax / Javascript to Generate the source. What I am trying to do is find a way to get the source downloaded after this occurs in...
View ArticleHow to replace WWW() with UnityWebRequest
I'm a complete beginner in this area, may someone help me? I currently have: string s; ... StartCoroutine(OutputRoutine(new System.Uri(paths[0]).AbsoluteUri)); ... private IEnumerator OutputRoutine...
View ArticleUnityWebRequest.Post Returning Empty String
I'm pining a Rasa server through Ngrok and postman is working fine.. it was working in few test, but then like 3rd time test.. the return text will be empty any possible reason? I'm using Unity...
View ArticleA method for streaming custom audio from the hard drive
With the deprecation of *WWW.GetAudioClip*, *UnityWebRequestMultimedia.GetAudioClip* seems to be the main way to download custom audio off the internet and play it at runtime. Which is great and all,...
View ArticleHow to post images to mysql using unity webrequest?
Hello i need your help, I am trying to post image data in form of Base64string to a php script. It is working on my localhost in right way.But when i am using same logics for my web server, It only...
View ArticleSee Request of WWW or UnityWebRequest, 403 error only from android in a...
Hello, I have a code that downloads data from a url. I have a problem that one Url gives me error 403 (Forbidden) only from android. When i get the url from editor or Windows build, all works...
View ArticleConvert code from HttpWebRequest to UnityWebRequest (SetRequestHeader)
Hello, I have problems downloading a xml from a specific url. Then someone of this forum solved me the problem with HttpWebRequest. [Http solution][1] I need to convert it because i want to use...
View ArticleJSON WebRequest works in 2018.2, throws 403 error in 2018.3
Since **Unity2017.2** we've been using a custom build pipeline that can be triggered by sending a JSON webrequest to the pipeline's API (using editor coroutines). I had specifically implemented this...
View ArticleUnityWebRequest.POST calls to an HTTPS url throws "Unknown error" on specific...
Hello, just upgraded our backend server to HTTPS from HTTP, I tested it in the Editor and 4 devices. All fine except one of the devices, which gave an "Unknown error" error (.error property of the...
View ArticleGZIP compression in Unity
Hello! I'm using UnityWebRequest.Get to pull gzipped assets. Whether or not I add request.SetRequestHeader("Accept-Encoding", "gzip") to my request, I notice that I get accept-encoding gzip in the...
View ArticleHow to return value from UnityWebRequest?
I have a script that connects to the database and retrieve data. The GetData function is called by other script. is there a way that I can return the data back to the caller? public IEnumerator...
View ArticleWWW.UnEscapeURL and WWW.EscapeURL cannot swap back?
I using UnEscapeURL with encoding big5 is work, input "%BC%D6 " return "樂". But i want to EscapeURL with encoding big5 is not correct. input "樂" return "%e6%a8%82" Debug.Log(WWW.UnEscapeURL("%BC%D6",...
View ArticleIssue assigning JSON Data to Class Structure
Hello there! Here's a bit of background information: ---------- I'm making a GET request to retrieve JSON data, and I'm trying to store that data into a structure of classes. Printing the retrieved...
View ArticleCall JS function from Unity Script,How to call a JS Function from a Unity...
Hi, i try to call JS functions from Unity Script. I've tried some solutions, but none of them worked. When I try the solution from the official documentation, it doesn't work....
View ArticleUnityWebRequest error on WebGL
Hi! Im having a lot of problems with UnityWebRequest and WebGL. My code is this: static IEnumerator GetText(string web) { Debug.Log("Iniciando petición" + web); UnityWebRequest webRequest =...
View ArticleUnityWebRequest error on WebGL
Hi! Im having a lot of problems with UnityWebRequest and WebGL. My code is this: static IEnumerator GetText(string web) { Debug.Log("Iniciando petición" + web); UnityWebRequest webRequest =...
View ArticleRed 8x8 Question mark texture global replacement
Hello! There are numerous questions covering this, none with a great answer that I've seen. I'm building an app heavily reliant on live images from the web, and a caching plugin called unicache. We...
View ArticleUnityWebRequestTexture Unable to Load From Directories Containing '#' or '+'...
I'm using UnityWebRequestTexture to load images from my file system into my game. Here is my code: private IEnumerator ImageLoadCoroutine(int i) { GameObject imgObj; Texture2D imageTex = null; //string...
View ArticleFtpWebRequest and explicit ftp
Hello I access file on my ftp folder without problem since last week. Now I need to use explicit TLS security and nothing work well :( I try to use EnableSsl but it's don't work. Any idea ?...
View ArticleI get byte[] from unitywebrequest.get . now how can i change byte[] to...
typeconversion is a real mess.it always giving me error that byte[] cannot be converted into assetbundle or other type.(there are few exceptions like texture as they have methods to convert from byte[]...
View Article