Fix WebGL Hit a Snag Error in Chrome

Last Updated on March 23, 2018


The “WebGL hit a snag” error can show up while browsing any graphically intensive web page in Chrome. WebGL stands for Web Graphics Library. It’s basically a lot of code written and optimized by awesome programmers which allow the website developers to enable beautiful animations and other illustrations on the web pages.

WebGL use Javascript language to render (draw) 2D and 3D graphics in the browser canvas without using any 3rd party extensions. For drawing things on the canvas, WebGL uses the GPU on your computer. If you have got a dedicated graphics card on your PC from Nvidia or AMD, then WebGL uses its processing power to create animations. For those without a GPU, the Intel HD graphics are used.

webgl hit snag chrome

The basic thing you need to know is that WebGL is a Javascript library that works on your web browser to make things beautiful and interactive. Without it, every web developer would need to craft animations manually.

The WebGL hit a snag error shows when some error causes the library or the HTML canvas to crash in the browser. This can cause the whole web page to crash, or just a part of it to crash depending on how it is programmed.

So, how do you fix the “WebGL hit a snag” error on Chrome?

Well, the first thing you should do is that you should try reloading the web page which has caused this error. If that doesn’t happen again, then consider yourself lucky and then go on with your life. But, it’s been repeatedly showing on your browser, hasn’t it? Otherwise, you won’t be here.

Disable Hardware Acceleration

A sure shot way to get set WebGL things right is to disable hardware acceleration on the device you are using Chrome on. It’s pretty simple on Chrome.

  • Type chrome://settings to open the Settings page on Chrome. If you are too lazy for that, just use the hamburger menu on the top-right of Chrome to open the Customize Chrome menu and hit Settings there.
  • Once on the Settings screen, scroll down and click on Show advanced settings.
  • Find and uncheck “Use hardware acceleration when available” option.
  • Restart Chrome and open the web page again which was showing “WebGL hit a snag” error. This time, it shouldn’t crash like that.

A thing to note is that Restarting Chrome isn’t just closing the browser window and opening it up again. Depending on how it is configured, you will need to uncheck the “Continue running background apps when Chrome is closed” option. Do that, and you will be able to exit Chrome entirely. If you don’t want to tinker with that setting, just restart your PC. Doing either is fine.

Photo of author

Written by Utkarsh

Utkarsh Bhatt is a certified tech expert and software engineer for a Fortune 500 Company. He was born in 1995, making him one of the oldest members of the team at EFX. Utkarsh loves solving technical issues and is always the first to jump on any problem that needs solving. When he’s not coding or debugging, he enjoys playing video games (especially Super Smash Bros.) and watching cartoons.

Share on:

2 thoughts on “Fix WebGL Hit a Snag Error in Chrome”

  1. I had some issues with WebGL games (that ran on Unity). They were crashing as soon as the game was loaded. This solved the problem, thanks


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.