Search Unity

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

Discussion in 'Editor & General Support' started by unity_mADr4TFD5Q0lYA, Oct 16, 2019.

  1. unity_mADr4TFD5Q0lYA

    unity_mADr4TFD5Q0lYA

    Joined:
    Feb 26, 2019
    Posts:
    2
    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"

    72262130_392382135014690_6066922192166191104_n.jpg


    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.
     
    Slawb likes this.
  2. unity_mADr4TFD5Q0lYA

    unity_mADr4TFD5Q0lYA

    Joined:
    Feb 26, 2019
    Posts:
    2
    I solved. Thanks to myself.
     
    Slawb likes this.
  3. SohaibAmin1122

    SohaibAmin1122

    Joined:
    Oct 18, 2019
    Posts:
    4
    How you solve this? I am facing same issue. Thanks in advance.
     
  4. Slawb

    Slawb

    Joined:
    Nov 12, 2015
    Posts:
    8
    Hi, I'm exactly in the same situation!
    Can you explain how did you solve?
    Thank you in advance.
     
  5. The_Devil

    The_Devil

    Joined:
    Jun 6, 2015
    Posts:
    36
    Any one found a solution to this?
     
  6. luiziv

    luiziv

    Joined:
    Aug 31, 2016
    Posts:
    23
    What have you done to fix this issue?