WebGL reloading and reloading IOS [HELP]

These errors only happen on the iphone and ipad, I have two problems, one is that my game is restarting as soon as it starts, and the other is that the fullscreen button does not work, tested on safari and mozila, browser is not the problem, what can it be, this is the game …

access this link on iphone or ipad

http://pudimatomico.000webhostapp.com/lequedigital.com.br/buildTest/index.html

Hey! did you find any solution to this ?

i’m experiencing the same problem :frowning:
do anyone have solution for this

As far as I noticed on projects at work safari on mobile has some sort of hard limit on memory when in webgl. What we had to do is just optimize a lot on textures like reducing resolution and putting loads of them into the atlas. As long as you keep your memory usage low it works.

On Safari on iOS, memory is strictly limited and seems to crash or become unstable when the size on Safari reaches about 500 MB.

Profiling my game in Chrome on Windows, it takes only up to 25 MB but the app still runs for a fraction of a second then page reload on Safari ios

It helps to build for mobile with texture format ASTC so that textures aren’t loaded uncompressed in memory. Also increase the initial heap size to a level where it might not need to resize itself, say 512MB. It helps but doesn’t solve the issue. Also be wary that iPad defaults to desktop browser mode but still doesn’t accept DXT textures