HTML5 app won't open on Safari on iPad

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By EliTheBeeli

I have an HTML5 app available on itch. Most mobile devices have been able to run it just fine, but an iPad user on Safari encountered an error saying:

“call_indirect to a null table entry (evaluating '(_main=Module["_main"]=Module["asm"]["gk"]).apply(null,arguments)')”
I’m a pretty beginner programmer, so this doesn’t make much sense to me. Is there a way to fix this issue? Not sure if this is relevant information or not but the project is using GLES3.

Hey,

maybe it’s really a Bug:
HTML5 GLES3 export crashes on macOS when 3D is being rendered · Issue #57913 · godotengine/godot · GitHub

Also make sure the users browser supports WebGL 2:
https://docs.godotengine.org/en/stable/tutorials/rendering/gles2_gles3_differences.html

https://get.webgl.org/webgl2/

The newer iPads and Safari Browser should support it.

juppi | 2022-03-10 16:15

:bust_in_silhouette: Reply From: EliTheBeeli

Found out the user’s browser just didn’t support WebGL2. Turned on Fallback to GLES2 and the issue has been solved!