Search Unity

Bug [SteamDeck] No InputSystem.onDeviceChange in Linux build

Discussion in 'Input System' started by dwit_mass_creation, Jan 17, 2023.

  1. dwit_mass_creation

    dwit_mass_creation

    Joined:
    Jun 18, 2015
    Posts:
    74
    We have strange problem.
    On SteamDeck in Linux build InputSystem.onDeviceChange is not working; app does not detect devices connecting or disconnecting during runtime (it detects only devices connected on app launch).
    That Linux build works fine on normal Linux PC. And Windows build works fine on SteamDeck too.

    So it is only problem on SteamDeck Linux build.

    Tested for:
    com.unity.inputsystem 1.4.4
    FAIL: Unity 2019.4.16 and Unity 2020.3.36
    OK: Unity 2021.3.15

    Edit:
    There was mistake in oryginal post.
    It turns out this problem occurs on Unity 2020.3.36 not Unity 2021.3.15.
    On Unity 2021.3.15 it works ok on SteamDeck
     
    Last edited: Jan 27, 2023