Search Unity

Failed to execute shaderSource on WebGL2RenderingContext

Discussion in 'Web' started by Hermonirr, Jul 31, 2018.

  1. Hermonirr

    Hermonirr

    Joined:
    Dec 23, 2013
    Posts:
    56
    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
     

    Attached Files:

  2. EduHint

    EduHint

    Joined:
    Nov 15, 2017
    Posts:
    1
    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.