How to Fix “Rats! WebGL hit a snag” Error in Chrome


More than 60% of use Chrome as their default browser making it one of the most popular and most used browsers of all time both of mobile devices and Desktop, being one of the most popular browsers at times it may have some bugs or sometime it may give it errors like Flash blocked, error in loading a page, web page blocked and more but today we will be discussing on a not so popular error Rats! WebGL hit a snag. Keep scrolling!

Rats! WebGL hit a snag

So, You were searching and browsing some websites on Chrome and suddenly you got this Rats! WebGL hit a snag Error message on your Chrome top bar and you are like Eww, What’s this? This error occurs when you are trying to view a Facebook 360 degree video or trying to use Google 360 degree Streetview.

What is WebGL?

Before I move further and tell you the methods of resolving it, let us discuss why this error occurs, WebGL is also known as Web Graphics Library which is required to 3D and 2D graphics on your browser itself which comes built-in with most of the popular browsers these days, this WebGL will speed up the graphics and gives you a boost in speed.

Your computer GPU (graphics processing unit) will help these Javascript API for executing and rendering so the chances of this error are more on Desktop devices and mainly computers will low-end graphics will be the victim.

This was started as a prototype by Mozilla in 2006, then after in 2009 a non-profit group namely Khronos Group started working on this to make it a better application from then, most of the popular browser comes built it with WebGL with no need of extra plugins or extensions.

What’s the use of WebGL?

WebGL is based on OpenGL (Open Graphics Library) which is used for defining 2D and 3D graphics right on your browser screen. Facebook 360 degree video, Virtual tours, Google street view, light gaming within your browser for all these to run, WebGL is used.

Apart from this, WebGL also helps your browser to perform faster and helping browser to view any graphics material smoother. Like we have already discussed earlier, WebGL these days comes built in with most of the popular browsers also it’s availability will depend on various factors like your GPU supports that or not.

In case if you need to check your browser will support WebGL or not, you can head over to a simple test site.

How to fix Rats! WebGL hit a snag error?

If you are tired of seeing this error and tried reloading and restarting your Chrome browser but it didn’t fix the issue, try the step by step guide to fixing Rats! WebGL hit a snag. Sometimes because of this error, you will not be able to view 360-degree videos on Facebook or Youtube and also you will not be able to use Google street view.

1. Disable Hardware Acceleration

The easiest way to get rid of Rats! WebGL hit a snag error is by disabling Hardware Acceleration option in Chrome settings.

Step 1 – Go to Chrome settings by entering chrome://settings into the search bar.

Step 2 – Now scroll down to bottom and click on Advanced.

Chrome Advanced Settings

Step 3 – Once you click on Advanced it will open a further list of settings, in that scroll to the bottom until you find Use hardware acceleration when available and disable it.

Disabling Harware Acceleration on Chrome

Once you disable that, you need to restart Chrome browser after that you will no longer get the error saying Rats! WebGL hit a snag.

2. Disable WebGL

The second method is to disable WebGL itself.

Step 1 – Type chrome://flags into Chrome search bar then click on enter.

Step 2 – Once you are in Chrome flags, search for WebGL 2.0 you can search for it by CTRL and F simultaneously.

In the newer version of Chrome, they have disabled this option to disable WebGL but you can install Chrome extension to get the job done.

Step 3 – After you find WebGL 2.0 in Chrome flags, it will be in default settings you need to click on it and select disable.

Disable WebGL

After you have disabled it, you need to restart Chrome browser for settings to take change, Once restarting is done, you will most probably not face the error again.

3. Resetting Chrome

By following the above mentioned 2 methods the error will be most likely be fixed, but in case it didn’t in your case, try this!

Step 1 – Go to Chrome flags by entering chrome://flags in your Chrome search bar and click enter.

Step 2 – As you open Chrome settings, you will see an option to reset all the settings to default, it will be located in the top right corner, click on it and it will start resetting options to default settings.

Chrome Flags Reset to Default

After the resetting process is completed, you need to close Chrome browser and restart it, for settings to take change. If this step doesn’t work for you, try resetting all the Chrome settings, don’t worry your data will be safe, to do that follow these steps.

Step 1 – Go to Chrome settings by entering chrome://settings into the search bar.

Step 2 – Scroll down until you find advanced options, click on it and it will open more list of options.

Step 3 – Now, you need to scroll down to the bottom and find reset settings to their original defaults click on it.

Chrome Resetting

Step 4 – As you click on reset, it will open a popup asking you for confirmation then click on Reset Settings button.

Chrome Resetting Popup

Once, you reset it, all your Chrome settings will be in there defaults and by resetting you don’t lose your Chrome data like history, typed passwords.

4. Finding the cause

The above-mentioned methods will solve the error of Rats! WebGL hit a snag, but in this method, we will figure out what’s causing the error to pop up.

Step 1 – Head over to Chrome GPU section, by entering chrome://gpu in your Chrome browser.

Step 2 – Once you are there, you will find a good amount of red warnings that need to be fixed.

Chrome GPU Section

Step 3 – You need to copy the error message and search by pressing CTRL and F key simultaneously in on chrome://settings and chrome://flags and try to change settings of that particular warning.

By changing settings of the red warning errors, you will be able to find what’s the cause of the issue and resolving it.


So that is how you can fix Rats! webgl hit a snag error, the first 2 methods will solve your problem and they are the permanent fix for this error. You can also post your Chrome related queries in Chrome forum and wait for a Chrome expert to reply.

Let me know, which of these methods fixed your issue and also if you have any queries related to this error let me know by commenting below. Don’t forget to share it with your friends!


Please enter your comment!
Please enter your name here