- Home /
Question by
NUKE-GAMES · Jan 07, 2016 at 08:09 AM ·
errorwebglwww
I'm trying to GET a text from a server in WebGL, but is not working.
IEnumerator Start() {
WWW www = new WWW(HOST_URL+ "?format=json");
yield return www;
Debug.Log("Teste"+www.text);
} //it debugs on unity editor, but when a try to use this text on webgl, it does not work.
Comment
Your answer
Follow this Question
Related Questions
WebGL - too much recursion browser error! 1 Answer
GetThreadContext failed during runtime (not in editor) 0 Answers
WebGL build error on Unity 2021.2.8 0 Answers
Mixing domains, CORS and webgl problem 2 Answers
How to WWW a file on Android? 2 Answers