Search Unity

WebGL browser compatibility checks not working as documented

Discussion in 'WebGL' started by petrucio, Feb 25, 2016.

  1. petrucio

    petrucio

    Joined:
    Aug 30, 2011
    Posts:
    126
  2. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    so you implemented your own compatibilitycheck function and it does not work as expected ?

    this works for me:
    Code (csharp):
    1.  
    2.   var Module = {
    3.    [...]
    4.     compatibilitycheck: function(){ },
    5.    [...]
    6.   };
     
  3. petrucio

    petrucio

    Joined:
    Aug 30, 2011
    Posts:
    126
    Yes, setting it to an empty function suppresses the warning, thanks. I still think the docs should be updated, as they misleadingly say that you can suppress the warning with a null function (which seems to be the default in 5.3)
     
unityunity