Search Unity

Question Color.hlsl package problem

Discussion in 'Shader Graph' started by Meatb0y, Jan 3, 2021.

  1. Meatb0y

    Meatb0y

    Joined:
    Jan 25, 2015
    Posts:
    43
    Hi !

    I used to have a bunch of shaders made with shadergraph that worked, then i updated unity to 2020.2.

    Now my materials are pink and i keep getting this error :

    Shader error in 'Sprite Lit Master': Couldn't open include file 'Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl'. at line 89

    So i guess it has to do with this line : #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl"

    But as i'm not sure what to do with those information to fix my problems.

    Thanx