Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question How to release webgl memory in browser refresh?

Discussion in 'Web' started by zengjunjie59, Mar 14, 2023.

  1. zengjunjie59


    Dec 10, 2019
    PlayerSettings.WebGL.emscriptenArgs = $"-s TOTAL_MEMORY=1000MB";
    The first time I entered the game with the browser everything worked.
    But click on the browser to refresh and an error will pop up.
    abort(“out of memory”)
    Last edited: Mar 15, 2023