Mysterious Extra KeyUp Event (5.3.3f1)

Newbie here trying to figure out TextUI elements + scripting. I decided to do so by making a simple text editor by capturing KeyUp events on a TextUI. What I’ve found is that on every single strike of a key, I’m getting a second event with a ‘None’ KeyCode.

Here is my script:

Here is sample Debug console:

What is this second event that always fires? Why is it of KeyCode None?

Figured it out. There are separate events fired for characters and keycodes.




On a single press of ‘a’:
I fired one event with a KeyCode of A and a character of ’ ’ and a KeyCode of None and a character of ‘a’.

Give that a look.