My line renderer goes in and out when I give it a material with a texture on it, is there anyway to just make it go straight?

My line renderer goes in and out when I give it a material with a texture on it, is there anyway to just make it go straight?

There’s not enough detail here.
Give us a pic of LineRenderer component, unfurling all its subsections/lists.
What are all the points in the line?