Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Script error: "Script error" when refresshing WebGL page in IE 11

Discussion in 'Web' started by jareds, Nov 20, 2015.

  1. jareds

    jareds

    Joined:
    May 8, 2008
    Posts:
    207
    Hi folks,

    I've managed to get an application to run fairly well in IE11, but on many machines if I refresh the browser window with the app loaded I get a Script error: "Script error".

    Any thoughts on what this could mean? I haven't been able to get any more details than "Script error" even after looking through the IE Developer Tools console.

    Thanks,
    Jared
     
  2. jareds

    jareds

    Joined:
    May 8, 2008
    Posts:
    207
    Update: I was able to get a little more information; it is an out of memory error. It seems like IE isn't clearing out its memory very well so refreshing the page is causing a memory error. Any thoughts on how to improve/resolve this?
     
  3. jonas-echterhoff

    jonas-echterhoff

    Unity Technologies

    Joined:
    Aug 18, 2005
    Posts:
    1,666
    IE is not a great target to run Unity content on, and you will always suffer performance and compatibility issues. That said, when it comes to memory, I guess the info here applies http://docs.unity3d.com/Manual/webgl-memory.html , just like on other browsers.