Ribbon Trail shooting off somewhere

In our game, we are using Ribbon Trails to look like streaks on a river. We have quite a few of them rendering every frame. Sometimes, a few of them seem to shoot off in a straight line, as if one point is somewhere random in the world. Strangely enough, this doesn’t happen much on PC, but happens all the time on Xbox, and with a cooked PC build.

I looked into the code briefly, but it was over 5,000 lines of somewhat complicated code, and haven’t figured anything out yet.

Ideas?

As the Epic Game Jam was happening, fixing the ribbon particles was the biggest struggle for me. I had the same issue - the ribbon was shooting somewhere to a random point in the world. Moreover, the logs said that this is the reason our game was crashing all the time.

We were not sure if its an UE4 bug or its just a mistake i’ve made, but we havent managed to solve the problem and the game is left without ribbons.

I was at least able to fix the problem we were having. I found a spot where the ribbon particles were accessing data outside a valid range, causing the ribbons to point at invalid data. You can find how I fixed it here: