projectile movement freeze when using gravity

Hello, I have an issue for a few days that i cant figure out. Im making my player character throw an object using ProjectileMovement.
Im using a line trace to aim where the object should go.
Everything works fine until i set the gravity. Then the object freezes as soon as it leaves the player.
If i turn gravity off it works fine.

Its the first time im using projectile movement so im having a hard time knowing what to look for but here is my code so far.

Hope someone can point me in the right direction