- Home /
WebGL lags and throws shader errors in chrome only
I built a webgl project today and uploaded it to my server. It runs completely fine in Edge and Firefox, but in chrome I get lots of shader related errors, a model using a material with metallic, normal map and albedo is missing completely, and it lags so bad I have around 2 FPS. (I think lag is because the same error about shaders repeat iself every frame).
My scene is really simple, and all it contains is: Standard main camera, Directional light, a few normal UI buttons, one obj model with standard opaque materials containing: Albedo, Metallic and Normal map.
I do not run development build, I have around 350 FPS in editor, Standard player settings, and tried reducing to medium graphics and turned off v-sync.
Extra info: Chrome 76.0.3809.100 (Official version) (64-bit) Unity version 2019.1.0f2
Answer by GafferSystems · Aug 22, 2019 at 12:11 AM
Seems like enabling GPU instancing on materials makes there errors appear in Chrome, does not Google Chrome support GPU Instancing of materials, while all the other ones does? That's weird and not specified as far as i could see..
Your answer
Follow this Question
Related Questions
Chrome 56 WebGL error 1 Answer
GameObject Instanitation causing lag on webgl for mac os with chrome 0 Answers
Error 127 on loading game in browser 1 Answer
WebGL and I/O 1 Answer
Unity WebGL Problem 0 Answers