Hi,
I have a problem with the mouse input under Linux. I’m creating a first-person game and had been working on it with Windows 10, where everything was fine. Now, I’ve switched to Linux Mint, and there is a strange issue with the mouse controls.
The input in play mode and build feels delayed and heavy. However, in the interface, everything works fine.
It’s not related to the system or drivers, as I’ve already checked that. All other programs and games run just fine.
It’s also not the script or the input manager, as I’ve tried both the old and the new one.
When I build for Windows and run it through Wine, it works correctly.
Has anyone experienced a similar problem?
Which Editor version are you using? There was a fix for mouse coordinates mapping in Editor version 6000.0.0b12 or newer. (On Linux the mouse coordinates are relative to the primary display - unlike the way it is handled on Windows - mapping relative to the given monitor)
I tried it with versions 2021.3.45f1, 2022.3.54f1, and 6000.0.30f1, and it appears in every version.
can confirm this issue is present on my system as well.
This is happening in the viewport & in the game play view.
I havent found a fix for it yet. i have 3 screens.
The other issue is that with multiple screens the viewport/game view will spin wildly if you touch the edge of the screen while right click dragging.
Well, I fixed the issue by switching to the Godot engine. It runs perfectly on Linux and is overall faster and smoother than Unity.