are you using URP?
I don't know what urp is but I have fixed the issue I had 1 line renderer on but thanks anyway