Failed to execute shaderSource on WebGL2RenderingContext

Hi,

Exporting WebGL from Unity 5.6.4.

Getting this error:
Failed to execute ‘shaderSource’ on ‘WebGL2RenderingContext’: parameter 1 is not of type ‘WebGLShader’.
It happens mostly on mac, about 6% of the time. Less on windows.

Any hint (or a solution) as to where to find the culprit?

Thanks,
Nir

Seeing the same error show up.

Failed to execute ‘shaderSource’ on ‘WebGL2RenderingContext’: parameter 1 is not of type ‘WebGLShader’.

Getting no stacktrace or anything, just states its an InvalidStateError.