Problems with iPhone when exporting to HTML5

Godot Version

Godot 4.2.2

Question

Hi! I have a problem: I have designed a casual game with Godot 4 to be played in a browser, and when I export it to HTML5, it loads quickly and works fine on Android mobile browsers. However, on two iPhone mobiles I tested, one using Safari and the other Chrome, the game doesn’t load; it just keeps spinning the loading wheel indefinitely. The directory generated upon export is 43MB. Could someone help me with this? Thank you very much.

Hi, maybe you encountered this bug? HTML5 Stuck with the loading circle in iphone · Issue #83548 · godotengine/godot · GitHub

i generally won’t even try touching iphone export, web + ios looks like the worst combination that you would hope it works in that platform. i’m not surprised it doesnt work

PS: try other engine that actually fully support web. for example, cocos creator

I also believe if you try opening the game from MacOS safari it would load indefinitely or crash due to huge memory usage. if MacOS doesnt work, then iphone shouldn’t work i suppose

It’s a known limitation listed in the documentation Exporting for the Web — Godot Engine (stable) documentation in English

1 Like

any luck on this? I am facing simillar kind of issue right now in macbook it’s working fine but not in iphone (iphone 12 mini)

in my case I disable clip+draw wherever I used and then it worked fine in every device every browser