Input problem on non-english localization of Mac OS

I have installed Russian localization for the Mac. In this case, WSAD and other letter keys do not work with FPScontroller, only the arrows and numbers. No matter what keyboard layout is used. WSAD works only for the first time after project creation When I changed the locale to English all the keys work correctly, including WSAD.

Is there a solution to this problem, without changing the localization to English?

You can use this:


With this you can check what key it's pressed and with a function set the key to be used.

Thanks, but i know how to debug input controller. Problem is that it prints normal "wsad" and other keys that i pressed . All buttons in input settings are correct and i have changed them many times.