Search Unity

Camera issues on Linux build

Discussion in 'Editor & General Support' started by primus88, Sep 17, 2014.

  1. primus88

    primus88

    Joined:
    May 14, 2013
    Posts:
    611
    I have numerous complaints from Linux users regarding the following bug:

    Pressing crouch or sprint makes the camera jump straight up. The game is an FPS (mouse pointer is locked) and runs in full screen. Because there are no problems on the other platforms, I'm guessing this is a specific issue on Unities side for this platform.

    Anyone else encountered this?

    Br,
    Radu
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Unity doesn't have any crouch or sprint functions...those are coded by you, so it's not likely to be anything in Unity. Linux builds behave as expected here.

    --Eric
     
  3. primus88

    primus88

    Joined:
    May 14, 2013
    Posts:
    611
    Then how is it possible for the C# code to work just fine on Windows all versions, Mac and Linux except for Ubuntu 10.0+? I might be bad at coding, but I doubt it I am that bad.
     
  4. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Impossible to know without seeing the code. What have you done so far to debug the issue? Typically code that's "fine in some cases but not others" relies on undefined behavior (e.g., expecting scripts to execute in a certain order without having set the script execution order explicitly, stuff like that).

    --Eric