Okay, this one is really weird, might be a bug.
As you might know, right clicking an Input Key Selector resets its value to None. I want to check if key is not assigned, and do some stuff based on that.
The problem is when I first open the project, right click the Input Key Selector and compare the new selected key to None, it returns false, even though the selected key is None:
If I open the widget that contains the Input Key Selector and recompile it without even changing anything, the comparison starts returning the correct result:
But once I close the project and open it again, the issue is back.
Comparing against other keys seems to work fine from the very beginning. And the issue pertains even in the packaged game. So what’s wrong with it? Is it really a bug or what? BTW, I’ve downloaded 4.26 Preview, and it’s the same there.