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 ![]()
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 ![]()
Iām also having the same issue. When I click arrow keys focus cycles to the game window.