This issue is caused by the user setting up the custom lighting incorrectly. Custom Lighting in Shader Graph is possible, but it's not officially supported so this can't be considered a bug. The user should see the custom lighting examples that are available in Shader Graph's Feature Examples sample - importable from the Package Manager - for an example of how this effect can be achieved. Specifically pay attention to the Keyword parameters that are required in the Shader Graph asset.