Error of my webgl build on IOS browsers: "Out of executable memory"

Hi everyone,

I’m working on slot game project and everything was fine until mobile tests.

I published my project and i have tried to play the game on IOS browsers like Safari, Chrome, Firefox etc. I’m getting same error on console;

“Failed to asynchronously prepare wasm: Error: Out of executable memory in function at index 31xxxx”

I have tried many different ways to solve my problem. I removed scripts or images folders at different times and tried again. Never changed.

When i watch resource using in “Profiler” section, project used total 340MB from system memory. I guess that’s not too much because other games, which have too many visual effects (such as Angry Bots), are opening in these browsers.

By the way, my game is working perfectly on desktop and android browsers.

I have read many articles related to this topic in Unity Forums but I have no idea what else I can do.

Thank you in advance for your help.

1 Like

I solved. Thanks to myself.

1 Like

How you solve this? I am facing same issue. Thanks in advance.

Hi, I’m exactly in the same situation!
Can you explain how did you solve?
Thank you in advance.

Any one found a solution to this?

What have you done to fix this issue?