Shader not working in web browser(HTML5 Export). How do i fix it?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By FelipeBdC

I recently exported my game to HTML5, but when i opened the game in Chrome, my player was completely gone, and so were the enemies and everything else that uses a simple outline shader. When i opened Chrome’s developer console, i saw the following error

error code

also, the error does not persist inside the editor, nor when i export the game to .exe

:bust_in_silhouette: Reply From: Whalesstate

only GLES2 shaders will work on web builds, are you using GLES3 ?

actually, it was the opposite with me
I was using GLES2 and had to switch to GLES3

FelipeBdC | 2021-09-20 18:44