Invalid subscript 'sh'

I made a simple shader graph that seem to work in the editor and play mode but I can’t build the game because it has 2 errors that says " invalid subscript ‘sh’ ".
Where should I look to fix it?

1 Like

This is what the line looks like in the shader

            #if UNITY_SHOULD_SAMPLE_SH
            result.sh = varyings.sh;
            #endif

Same issue. were you able to fix?