Hi, so the input system suddenly stopped working for me, completely.
To replicate the issue in an isolated setting, I made a fresh project, Unity 2021 LTS.
Installed the new Input System, set it in settings as the only input system.
Created my input control asset, with a single Scheme, Map, and Action, called “action”, with a single binding, “W keyboard key”, with “Send Message” as the communication method with scripts.
Created a simple script with only OnAction as a method which just prints a log.
And… it… doesn’t work? It worked fine plenty of time, I’ve done this for countless small project, but now it doesn’t work at all anymore? I’ve been trying to figure this out for several hours, it just doesn’t work, the code is never reached, the console outputs nothing.
I’m sure that it’s me, a box I forgot to check, or something I did wrong, but it’s so discouraging trying to work on hobby gamedev during your few free hours of the day and being able to do absolutely nothing because absolutely nothing works.
It’s not the console that doesn’t output, OnAction() is never reached, my keyboard is registered in the input debugging menu, the new input system is set in the project settings, my method is named correctly, setting an input value parameter or not changes nothing, private or public changes nothing, Button, Value, Pass through, changes nothing
Can anyone bless me with some knowledge of why I’m an idiot and could’ve fixed the problem in 10 seconds?