Search Unity

WebGL Build Shader Error "Incompatible min precision type"

Discussion in 'Shaders' started by Democide, Jul 23, 2017.

  1. Democide

    Democide

    Joined:
    Jan 29, 2013
    Posts:
    315
    So I'm working on a shader and everything seems in order - works well in Editor and in a Windows build for example. However when I try and run it in a WebGL build I get errors when building. Specifically the following error multiple times (one for each multi-compile).

    That comes once for most of the multi-compile versions of the shader.

    I've tried googling the error but hadn't had much success. Before I go try and figure it out on my own I thought I'd see if someone here has any clue what to do.
     
  2. Democide

    Democide

    Joined:
    Jan 29, 2013
    Posts:
    315
    yanuu likes this.
  3. yanuu

    yanuu

    Joined:
    Aug 24, 2020
    Posts:
    2