Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

WebGl iOS 11.4 : Out of executable memory in function at index

Discussion in 'WebGL' started by lethalangel, Jun 19, 2018.

  1. lethalangel

    lethalangel

    Joined:
    Apr 27, 2018
    Posts:
    1
    Hi,
    I need some help with my project. I have a game that runs perfectly on any Desktop or Android browser. But gives me this error: Unhandled Promise Rejection: Error: Out of executable memory in function at index in iOS 11.4 Safari.

    I know about this problem in iOS 11.2 from here.

    Also there a lot of topics regarding WebAssembly not working on Safari. But isn't it supposed to be fixed in 11.3?

    I have tried to build the game with different memory size options. Still doesn't work.

    Update:
    I have tried to create an empty "Hello World" project. It does work. However as soon as I add a single image... it stops working...
     

    Attached Files:

    Last edited: Jun 19, 2018
  2. kognito1

    kognito1

    Joined:
    Apr 7, 2015
    Posts:
    331
    wasm on iOS safari has not worked since 11.2.1 (or whatever version that was). It was not fixed in 11.3 nor 11.4.
     
  3. 2rusbekov

    2rusbekov

    Joined:
    Jul 12, 2013
    Posts:
    43
    iPhone XR iOS 13 chrome browser - same issue
     
  4. dansav

    dansav

    Joined:
    Sep 22, 2005
    Posts:
    499
    wasm out of memory on ios using 2019.1.1f build. Used to work fine in 2018 and earlier 2019. What changed? I also used to be able to set the memory.