Search Unity

Issue with Chrome, Firefox and Safari working

Discussion in 'Web' started by phoenixrising, Feb 27, 2017.

  1. phoenixrising

    phoenixrising

    Joined:
    Aug 9, 2013
    Posts:
    57
    If you go to my test page here

    http://vm1.mypingo.io/color/

    This is working on Firefox, Safari and chrome for windows, however on chrome for mac I am getting the following error.

    Invoking error handler due to
    Uncaught TypeError: Module.asm is not a function
    blob:http://vm1.mypingo.io/deea0be5-797a-45b6-98de-e0c02142183e:3 Uncaught TypeError: Module.asm is not a function
    at blob:http://vm1.mypingo.io/deea0be5-797a-45b6-98de-e0c02142183e:3
    (anonymous) @ blob:http://vm1.mypingo.io/deea0be5-797a-45b6-98de-e0c02142183e:3
     
    Last edited: Feb 27, 2017
  2. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    What's your Chrome version? Seems to work fine for me with 56.0.2924.87
     
  3. Danielpunct

    Danielpunct

    Joined:
    May 9, 2013
    Posts:
    16
    Hi
    Did you find what was happening? I have the same error

    Thanks,
     
  4. Jarrodsh

    Jarrodsh

    Joined:
    Aug 18, 2017
    Posts:
    7
    I see this error occurring on my build as well, consistently.

    TypeError: Module.asm is not a function

    This occurs during Unity's loading process, before my first scene appears.
    Built with Unity 2017.1.1f1 and encountered on Firefox 24 on Linux.

    Any updates or additional information on this issue?
     
  5. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    Firefox 24 sound very old, could you try to update it?
     
  6. Jarrodsh

    Jarrodsh

    Joined:
    Aug 18, 2017
    Posts:
    7
    Thanks for responding. I posted the wrong version - our players are currently using Firefox 38.1.1, where we see this issue. We're hoping to be able to update to Firefox 52 ESR by Q1 2018, but at the moment our players are locked in at that version.
     
  7. Jarrodsh

    Jarrodsh

    Joined:
    Aug 18, 2017
    Posts:
    7
    Update - we're seeing this issue occur at a low rate on our developer machines (mix of mac, windows, linux running recent versions of chrome and firefox) and has been difficult to track down.

    Are there any updates on what can cause this issue?
     
  8. Daviant

    Daviant

    Joined:
    Jul 29, 2015
    Posts:
    4
    I am having a similar problem with Unity 5.6.7 in Chrome for windows. Works fine on Microsoft edge.


    Uncaught TypeError: Module.asm is not a function
    at Object.af4dbdc15471931d8f432589f5f6ec11 (39561783-b270-4f16-9411-3d6daf95fd44:4)
    at UnityLoader.loadCode.Module (UnityLoader.js:1)
    at HTMLScriptElement.o.onload (UnityLoader.js:1)


    If anyone has found a solution I would appreciate it.
     
  9. Daviant

    Daviant

    Joined:
    Jul 29, 2015
    Posts:
    4
    UPDATE: I have managed to fix the issue by randomly changing the setting for WebGL. By changing enable exceptions from "Full" to "Explicitly Thrown Exceptions Only" the game works.

    With "None" exceptions enabled I managed to get through 2 menu scenes before an exception error appeared.

    If anyone ever finds out why this happens I would appreciate an update. Thanks in advance, I hope that this helps someone.