Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Input System not working as expected #30

Open
PerfectlyFineCode opened this issue May 4, 2022 · 1 comment
Open

Input System not working as expected #30

PerfectlyFineCode opened this issue May 4, 2022 · 1 comment

Comments

@PerfectlyFineCode
Copy link

Unity version: Unity 2021.2.19f1
Input System Version: 1.3.0

Reproduction steps:
Set platform type to 'Input System' and start the game.

KeyNotFoundException: Cannot find control '#(a)' as child of 'Keyboard:/Keyboard'
UnityEngine.InputSystem.InputControl.get_Item (System.String path) (at Library/PackageCache/com.unity.inputsystem@1.3.0/InputSystem/Controls/InputControl.cs:417)
ImGuiNET.Unity.ImGuiPlatformInputSystem.SetupKeyboard (ImGuiNET.ImGuiIOPtr io, UnityEngine.InputSystem.Keyboard kb) (at Library/PackageCache/com.realgames.dear-imgui@561339c07f/ImGuiNET.Unity/Platform/ImGuiPlatformInputSystem.cs:114)
ImGuiNET.Unity.ImGuiPlatformInputSystem.Initialize (ImGuiNET.ImGuiIOPtr io) (at Library/PackageCache/com.realgames.dear-imgui@561339c07f/ImGuiNET.Unity/Platform/ImGuiPlatformInputSystem.cs:68)
ImGuiNET.Unity.DearImGui.SetPlatform (ImGuiNET.Unity.IImGuiPlatform platform, ImGuiNET.ImGuiIOPtr io) (at Library/PackageCache/com.realgames.dear-imgui@561339c07f/ImGuiNET.Unity/DearImGui.cs:172)
ImGuiNET.Unity.DearImGui.OnEnable () (at Library/PackageCache/com.realgames.dear-imgui@561339c07f/ImGuiNET.Unity/DearImGui.cs:77)
@vlandemart
Copy link

Fixed this issue in my fork, cf2deaf

See no reason for keys to be not layout agnostic whatsoever

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants