Mouse Position Displacement in Packaged UE5 First-Person Project

Hello fellow developers!

I hope this email finds you well.

I’m developing a first-person Unreal Engine 5 project and have encountered an issue with the mouse position. Upon running the project in the editor, the mouse is properly centered as expected. However, when I package the project and launch the executable, the mouse position is noticeably off-center, disrupting the intended gameplay experience.

I’ve ensured that the player start position, viewport mouse enabling, and mouse click functionality are all set. Any suggestions or solutions to resolve this mouse position displacement would be greatly appreciated.

My project utilizes click-and-drag functionality to control the camera. When I start application the camera follows the mouse cursor until the left mouse button is clicked, at which point the click-and-drag functionality is activated. So, when I start the applictaion, the camera is pointing in the wrong direction.

Can someone help me with this?