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. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

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)