Niagara Blueprint not attaching to socket correctly

Hi I am working on a effect of adding a simple trail to a moving projectile in my project. I used Niagara to make a simple trail effect, and then converted it into a Blueprint Actor class. After that I then spawned it in my projectiles blueprint, and then attached it to a socket I placed on the projectiles mesh. However, when the projectile is spawned, the trail is placed to the side of the projectile. I belive they are attached, as the trail does move with the projectile, but to its side. The socket I assigned it too is placed directly on the mesh, and moving the socket around seems to have no effect.

Simple attach in the projectile BluePrint

Socket Placement

I know this is a old thread, but I believe the issue is the Spawn Transform input when spawning the trail. Since you are attaching it to the socket, with location rule as “Keep Relative”, whatever the Spawn Transform is will be relative to the socket location. To keep the trail exactly at the socket location, the Spawn Transform should be all zeroes for location.