# Is there a bug with Niagara system? Bullettrail wont go straight

**URL:** <https://forums.unrealengine.com/t/is-there-a-bug-with-niagara-system-bullettrail-wont-go-straight/247810>\
**Category:** FX\
**Tags:** unreal-engine\
**Created:** [August 28, 2021, 6:16pm UTC](https://forums.unrealengine.com/t/is-there-a-bug-with-niagara-system-bullettrail-wont-go-straight/247810 "2021-08-28T18:16:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hybris6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hybris6](https://forums.unrealengine.com/u/Hybris6)\
**Post date:** [August 28, 2021, 6:16pm UTC](https://forums.unrealengine.com/t/is-there-a-bug-with-niagara-system-bullettrail-wont-go-straight/247810/1 "2021-08-28T18:16:30Z")

</div>

Hi,  
is there some bug with the Niagara system?

I followed Code Like Me:s excellent 3p shooter tutorial. In one episode he creates a bullettrace from a niagara fountain system. I could not get it to work properly because like every 10th to 15th shot didnt take a straight line to the target but some really wierd twisted way.

I thought maybe I did something wrong and thought Id give it another shot when I got better understanding of Niagara and how the engine works.

So now I’m doing my own gun blueprint. I do 2 tracelines one from the camera to x-hair and one from the gun to the x-hair.

When I do debug on the one from gun to xhair it always work and show nice straight lines.

I found this [UE4 Niagara Tutorial - Ribbon Trail (Bullet Trail) - Intro to Niagara UE4/Unreal Engine 4 - YouTube](https://www.youtube.com/watch?v=aUzbKnXN5N8) very nice tutorial on how to make a nice trail. In the video he uses Torus effect to browse the trace but in my final version to make sure it wasn’t the unchecked Toruseffect that messed it up I deleted the torus part in the emitter.

Still I get some shots every now and then that takes some really wierd way from the gun to the target.

Below is a pic where the img to the left show how its supposed to look and to the right how it looks every now and then with some wierd randomly curved line. I can’t figure out why this is happening and wondering if its some form of enginebug?

 ![Wierd BulletTrail](https://d3kjluh73b9h9o.cloudfront.net/original/3X/3/7/37aef0467c994e919ae26036256ac5d349614558.jpeg)

---

<div class="post-metadata">

**Author:** ![Hybris6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hybris6](https://forums.unrealengine.com/u/Hybris6)\
**Post date:** [August 28, 2021, 6:34pm UTC](https://forums.unrealengine.com/t/is-there-a-bug-with-niagara-system-bullettrail-wont-go-straight/247810/2 "2021-08-28T18:34:57Z")

</div>

I tried both types of code to move it:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/3X/9/5/950729120b8d843367ccbd0066e46f55138c34cf.jpeg)

---

<div class="post-metadata">

**Author:** ![Hybris6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hybris6](https://forums.unrealengine.com/u/Hybris6)\
**Post date:** [August 28, 2021, 6:56pm UTC](https://forums.unrealengine.com/t/is-there-a-bug-with-niagara-system-bullettrail-wont-go-straight/247810/3 "2021-08-28T18:56:18Z")

</div>

Well I just solved it myself by putting a do once node in front of the code with reset after deactivate. Maybe it will help someone 🙂
