Hey guys,
Every night I cross compile my project to Linux to ensure that it works but I’m having an issue with getting free-form mouse-movement when running on Linux.
This is the bit of code I’m assuming is causing problems:
FInputModeGameAndUI mode;
mode.SetHideCursorDuringCapture(true);
mode.SetLockMouseToViewportBehavior(EMouseLockMode::LockAlways);
GetWorld()->GetFirstPlayerController()->SetInputMode(mode);
Here is a short youtube clip of the experience behaviour: link
On windows, I retain the ability to move my mouse cursor around whilst on Linux it locks to the center of the Viewport and stays there.
Is this a bug or am I just doing things incorrectly?
Thanks,