Arrow keys get stuck when you press them

After pressing and releasing arrow key, input.keyget always sends true for that key.

I’m also getting this.

Same problem here. Glad to know it wasn’t just me. I spent an hour or so last night looking back over my code thinking I did something.
Don’t know if it helps but:
Xubuntu (Ubuntu 14.04 Variant)
Running XFCE DE (Also occurred in OpenBox)
Compact Laptop Keyboard( No numpad and has Fn keys to add utility)
Keyboard Set to English(US)

Can’t think of anything else to add.

I am having a similar issue when i use Input.Axis where when an arrow key is pressed it is if it were held down and all other arrow keys become ignored.

I also have this problem when using Input.GetAxis.

Yup, me too.

I’m wondering if it has something to do with other UI elements stealing focus? When I press other arrow keys after the first one, I see various tabs highlighting and un-highlighting (like the Game, Project, and Hierarchy tabs).

I have also noticed this with other keys as well. When I press ā€œEā€ in my game to interact with objects I notice the Scene Keys (Grab, Rotate, Translate, Scale) change.

Same here in Gentoo Linux - It definitely has to do with focus stealing. If you click the Game-Tab you can enter another key and lose focus again.

I have this bug too. A just test unity with the defaul project in ubuntu 14.04

While in play mode, does anybody else notice a slowdown when you hold in a keyboard key when ā€˜repeating’ gets activated? The delay after hold in the key, it continuously causes small pauses every ā€˜repeat’ keyboard event? (while holding it down) … It almost seems like Unity is doing quite a bit of processing when it gets the repeat key events?

I’m having the same issue, Ubuntu 14.04, unity-editor-5.1.0f3+2015091501_amd64

Same bug here. I created my project with Unity3d 5.2 on Windows.
Then i ā€˜imported’ my project into Unity3d 5.1 (unity-editor-5.1.0f3+2015091501_amd64) on my Linux Mint 17.2 + Cinnamon 2.6.13.
It works perfect on Windows, but it looks like the first button pressed is getting stuck.

I’m using this code:

float horizontal = Input.GetAxis ("Horizontal");

My friend and I just noticed this same issue yesterday.

Same problem, but only with the up/down keys, others (f.e. w,s) work as expected.
First tries of a newbie :slight_smile:

float hPos = GetComponent<Transform>().position.x + ( Input.GetAxis("Horizontal") * Time.deltaTime );
float vPos = GetComponent<Transform>().position.y + ( Input.GetAxis("Vertical") * Time.deltaTime );

GetComponent<Transform>().position = new Vector3( hPos, vPos, 0 );

k

I just ran into this as well, running under Linux Mint 17.2 with the Cinnamon desktop and an Irish keyboard layout. However, when I build and run the project, it works as expected.

I’m also using Linux Mint Rafaela with the latest editor and having the same problem.

Does anybody know how to activate the alternative input buttons in the manager when the editor is playing?

And also, what is the #if directive used to identify the Unity Editor specifically under Linux?

Same issue on Fedora 22.
Tried multiple desktops, no difference.
When I click on any panel (e. g. Project) in play mode, it catches the keystrokes.

same issue on ubuntu 15.10

I’m having the same issue, Ubuntu 15.10, unity-editor-5.1.0f3+2015091501_amd64 :frowning:

I’m also having the same issue. When I click arrow keys focus cycles to the game window.