Search Issue Tracker

Fixed in 4.5.2

Votes

51

Found in

4.3.1f1

Issue ID

585517

Regression

No

Screen.lockCursor under Linux breaks Input.GetAxis

Linux

-

-e: Screen.lockCursor under Linux breaks Input.GetAxis()

-repro:
--open attached project
--run test scene in editor
--notice correct axis values
--build and run for Linux
--hold mouse button and move it around
--NOTICE axis values being all over the place he the build crashing in the end

Comments (31)

  1. Ad9dc2efe867a0fe541257f556e51e8f?d=mm

    radiatoryang

    Jul 17, 2017 16:37

    in case anyone ends up here with Linux fullscreen mouse cursor / mouse input issues: there was also a UI-related mouse events bug from 5.6.0f1 - 5.6.2p3... make sure you patch to 5.6.2p3 to fix it https://forum.unity3d.com/threads/ui-not-receiving-mouse-events-5-6-0f1.464107/page-2

  2. 94a3f3af8c273aff053d035e4180455f?d=mm

    Damianu

    Mar 06, 2017 03:45

    It's still not fixed, in most of games under wine mouse goes to right bottom.. Any workaround?

  3. 6cd4667d7c2e2c5e2a352eeec7db71ff?d=mm

    thojoh370

    Oct 19, 2015 23:43

    I just found something which should've been obvious; if you're still experiencing this problem in October 2015 and it's related to the mouse acting strange when using lockCursor, keep in mind that lockCursor is in fact obsolete and the docs suggest using Cursor.lockState instead.

  4. 3308bd27b05f39d6bd0c3b3c5c8f006b?d=mm

    Elderkarma

    Jan 13, 2015 21:36

    Can confirm bug still present in 4.6.1f1. Reproduced in fresh Ubuntu 14.04.1 load under VMWare 11.0.0 (with current VMWare tools version installed).

    Please re-open issue.

  5. 5dd6d551671b91f20ece8284c87d5114?d=mm

    Alloc

    Jan 12, 2015 10:22

    Can confirm this is not fixed in 4.5.5p4. Works for some people but not for all. It's definitely not "solved/fixed".

  6. 79bffb4b015df747bdf755a1cc98c696?d=mm

    DaneM

    Jan 05, 2015 00:17

    Update. I've found a partial workaround, based on this thread's advice:
    http://steamcommunity.com/app/298260/discussions/0/37470848099331786/

    Going into "~/.config/unity3d/Zero Point Software/Interstellar Marines/prefs" and changing:

    <pref name="Screenmanager Is Fullscreen mode" type="int">1</pref>

    To:

    <pref name="Screenmanager Is Fullscreen mode" type="int">0</pref>

    ...Allows the mouse to look around, again. Of course, this makes the game "stuck" in windowed mode. Of course, it's not as fun, this way, but it is mostly playable.

    Please re-open this issue.

  7. B62383219567ba5c6fe37b3400b854fc?d=mm

    aaronmcohen

    Dec 29, 2014 17:50

    Please reopen this issue as it is not resolved I have verified it under both the latest version of Fedora and Ubuntu.

  8. 79bffb4b015df747bdf755a1cc98c696?d=mm

    DaneM

    Dec 18, 2014 22:30

    I'm experiencing this problem in Interstellar Marines. I just tried to play it for the first time in about 3 months, and found that I couldn't look around.

    I'm using Linux Mint 17 AMD64 MATE.

    I'm using a desktop PC with a laser mouse (Logitech G9x), which everything recognizes, so far as I can tell. When I move the mouse, the view jitters, but re-centers to where it was. I can shoot by clicking; and moving with WASD works.

    I've tried verifying the Steam game cache and deleting/reinstalling it, to no effect.

    I've also tried moving "~/.config/unity3d/Zero Point Software/Interstellar Marines/", to no effect.

    Restarting the compositer with "marco --replace &" doesn't do help, nor does unchecking the box in "Control Center > Desktop Settings > Use Compositing".

    Has anyone figured out a way around this problem?

  9. Fc54d9f99df845954afa741b21f3435c?d=mm

    invicticide

    Nov 19, 2014 06:00

    I am experiencing this issue on 4.5.5f1. :(

  10. D7ae5e6ca15a70cd42b06dbabab55625?d=mm

    leinardi

    Jul 06, 2014 12:43

    I'm still getting this issue in Interstellar Marines and The Fall.

    Ubuntu 14.04 LTS (64 bit)
    Versione del kernel: 3.14.10-031410-generic
    Unity (GNOME desktop environment)
    NVIDIA Corporation GeForce GTX 770/PCIe/SSE2 (NVIDIA 340.17)
    Mouse Roccat Kone XTD

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.