Issue when creating a custom shader graph for terrain, lights can't be baked

I am trying to create a custom shader for my terrain with the help of Shader Graph. I followed the following tutorial to get the basics but I have an issue when baking the lights.

“Terrain_03_01’: Instance with no materials was removed from light baking input. This instance will not be lit by or affect baked lighting.”

Youtube: How to use Shadergraph for Terrains! (Holes and texture painting handling) - Unity3D Tutorial

Also, in my terrain parameters, since I have replaced the material I have the following warning:

Bump this ^
I’ve noticed the same thing, lightmaps and ambient occlusion aren’t being baked for the terrain.

The workaround I’ve been using is to bake my lightmaps with the standard terrain material, then change out the material with my custom shader graph material.

1 Like

I did not know that is was possible. I will do that too, thanks!