Bullet long range tracer effect?

Hi guys. I’m working on a ballistic system that is going to be used in long range situations. I’m trying to create an effect where the bullet is visible from a long distance similar to games like battlefield. I’m having trouble finding a way to do this but I noticed that the ray in Debug.DrawRay is visible at long ranges and creates the effect I want. Does anyone know how the ray in Debug.DrawRay is rendered or any other way I could achieve this effect?

you can add the TrailRenderer component to the bullet. That should do it