All my ShaderForge generated shaders broke after upgrading to 2018.1. The reason, it turns out, is the change from the LIGHT_ATTENUATION() macro (back in Unity 5) to now UNITY_LIGHT_ATTENUATION(), which was made final in 2018.1. So just rename all your instances and the shaders should work again.