Click to move works in the editor (PIE) but not in the packaged project

I’m using the click-to-move controls from the top down template in Unreal 5.5 and when I’m playing in the editor (PIE) everything works perfectly, but when I package the game the player only moves when you’re holding down left mouse, and click-to-move doesn’t work at all.

PIE version:

PIE Version Click to Move

Packaged version:

Packaged Version Click to Move

If anyone has any solutions, workarounds, or alternatives to making click-to-move work properly I would be very grateful