Oculus touch input occasionally not being recognized

Hey,
I’m developing a VR game where players sit in a cockpit and can grab virtual joysticks to control their vehicle. To know whether you can grab a joystick, a haptic feedback is played once a hand hovers in range of a joystick.

So far so good, this works as intended, but recently I’ve had the problem that no button input is registered from both controllers. I found out that no controller input is registered when I’m NOT wearing the Rift, but this is happening WHILE wearing the Rift, hence my confusion.

Any explanation for this would be greatly appreciated, as the controllers are crucial for testing!

Found the solution myself: For some reason when testing in editor, the game sometimes plays without its window being in focus, causing the game to not recognize any input. Once i focused it with my mouse, it worked all as expected!

Saved me GOD ■■■■ DAY!
Thank you!