Facebook Instant game not starting on some devices


HTML5 fails to run on some devices. This error code is from an LG-K120E with Android 5.1.1:

E/chromium(17721): [ERROR:context_group.cc(144)] ContextResult::kFatalFailure: WebGL1 blacklisted

The app fully loads, then at 100%, this error happens and the app doesn’t start.

Is there something I can do to fix this, or is it an inherent issue with the way that Defold bundles to HTML5? Reducing the HTML5 “heap size” in the config doesn’t appear to help.



What device are you one? Is it an old one?
What does google say about the error message?

1 Like


LG-K120E with Android 5.1.1. It’s four years old. The game analytics implies that this affects a significant number of Android users.

This is the best post I found, but nothing conclusive.



Does any HTML5 exported thing from Defold work on that device?

Does this render? https://get.webgl.org/

And what does this say? https://webglreport.com/

1 Like


These are tested using the ‘Facebook/Messenger’ app i.e. by clicking both links in a Messenger chat thread:



When opened in the phone’s native browser, both links worked. This means the game works in the browser, but not in the context of Facebook Messenger/Instant.

Edit: The “WebGL 2” tab from webglreport.com works inside the Facebook context!



I’m guessing that the device is blacklisted since the GPU driver has know problems. I believe the LG-K120E has an Adreno 304 GPU and it could maybe match with this blacklist entry (I’m not an expert on this):


1 Like


Could the Defold HTML5 build somehow use WebGL 2 if 1 fails?



It can be enabled via Emscripten using a linker flag:


I’m not sure what the implications would be but I’m guessing things would break if we change this. @JCash or @sven might know.

1 Like