- Home /
How to send a large string from Javascript to WebGL ?
Hi guys,
I am trying to make a Javascript code to upload and send to Unity WebGL a big string (4mb of data).
Everything works great with smaller strings up to 3mb, but on larger files I get an "Uncaught RuntimeError: memory access out of bounds".
Does anyone have any idea why this happens? How I could increase the amount of data I can send through SendMessage?
If there is any other ways to solve this problem I am completely open. Thank you so much!
Your answer
Follow this Question
Related Questions
WebGL: Interacting with browser scripting unable to call java script method from C# 2 Answers
Is there a way to send an XMLHttpRequest and get the response in a WWW object? 0 Answers
Unity WebGL calling a function from a jslib file in JavaScript(Vue) 0 Answers
Unity WebGL game on itch.io loads different scene than in editor 0 Answers
Unity WebGL form posts to Cloud Firestore with Firebase JS SDK 1 Answer