Hey Nazruden,
This procedural mesh you’re generating, does it have any Normals?
You can generate these from the Vertices/Triangles/UVs and then use those Normals/Tangents when you generate your procedural section.

My first guess would be your material node to define the slope tries to access these Normals and they have not yet been created by you.