Hello everyone,
I’m currently coding a multiplayer FPS with spaceships that can be controlled by players. I have this system where when I shoot while inside a spaceship a projectile is spawned and goes in the direction of the cursor using convert mouse location to world space. It all works perfectly in editor, standalone and using scripts, however as soon as I package my game, it doesn’t work anymore. Here’s how my code works :
This code is executed on my ship pawn. When I fire, I call SetDirection on my custom controller and replicate it:
Then on the server function doing the projectile stuff, I get this mouse direction value and do my calculations.
I’ve debugged using line traces and on my packaged game, they are going totally in the wrong direction. Am I missing something obvious ?
Thanks in advance for your help guys, I would greatly appreciate it

