Sometimes keyboard doesn't work in Playmode

Hello, I’m having a small bug on 6.0.26f1: sometimes (about 50%) as soon as I start Unity and go into Play mode, keyboard inputs aren’t being registered, however gamepad and mouse work fine. The fix is really simple, when I refocus Unity window, keyboard is working again. Minimizing and maximizing also do the trick.

I never had this on my older version (2022.3). It should be noted that I’m on older Win10 version than required, and Unity always bitching about it when I open it (would be nice to have an option to disable the warning).

I have the same bug on previously updated project and on a brand new one. Should also mention that I’m using new Input system with generated C# class. I don’t think this happens on the old system.