Search Unity

Question Help? Error Messages, shader doesn't work.

Discussion in 'Shader Graph' started by Unity-Artcraft, Dec 1, 2019.

  1. Unity-Artcraft

    Unity-Artcraft

    Joined:
    Jul 28, 2018
    Posts:
    85
    Shader error in 'Blend/VoronoiTest': syntax error: unexpected integer constant at line 643 (on d3d11)

    syntax error: unexpected integer constant
    Compiling Vertex program
    Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR

    -----------------------------------------------------------------------------------------------------------------------------------------

    Worked all fine and good until a certain point. No clue what I did wrong. Get errors very often with shadergraph :/ all my drivers are up to date.
    -----------------------------------------------------------------------------------------------------------------------------------------
     
  2. ricniclas

    ricniclas

    Joined:
    Sep 18, 2019
    Posts:
    2
    Hi! I had the same problem, and I found a solution!

    You need to convert your sliders into properties. The errors disappeared after I did the same