Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug [Linux] Key press is not registered on non-english keyboard layouts

Discussion in 'Input System' started by nrader95, Apr 21, 2021.

  1. nrader95


    Aug 19, 2019
    Okay, so i first encountered this when i still used legacy input system, but later decided to rewrite my input to new one to see if that helps. No luck.
    The issue does not show on windows, so i assume it's platform-specific. (I don't have mac to see if it's affected, though)

    Steps to reproduce:
    1. Use Linux version of Unity.
    2. Have non-english keyboard selected. (russian, in my case)
    3. Try to press any character key that tend to change depending on layout (control keys, space etc still work)
    4. Despite key being pressed, Keyboard.current.anyKey.isPressed says otherwise.
    My configuration:
    • Unity 2020.3.0f1
    • Linux 5.9.10
    • glibc 2.33
    • System locale: ru_RU.UTF-8
    Bugzilla ticket:
    Fogbugs 1330732
    So, anyone have an idea how to fix that?
    Last edited: Jun 9, 2021