Compatibility check to display error message

Hi!

Is there a way to detect if a browser is not compatible with babylon.js to display a “custom” error message? Is there something like that somewhere in Babylon or do I need to check the browser features myself (checking specifically for the webgl version or other stuff?) Or maybe we’re just at a point where we can expect it to work more or less everywhere and that’s just useless to test?

For references, I hoped to do something like this :

if (!BABYLON.compatibilityCheck()){
    alert('No babylon for you!');
    return;
}
//Init babylon here

Thanks!

Not too far:

if (!BABYLON.Engine.IsSupported){
    alert('No babylon for you!');
    return;
}
1 Like

:man_facepalming: So simple. How did I not find that? I need to up my googling game…

Thanks!