Input bug in 3.4.

I already reported this… and wanted to just confirm that I’m not the only one experiencing this…

I loaded up my game in 3.4 today… Get ready to make a build, and notice a nice chunk of my code no longer works. My whole chat system is screwed.

Pretty much, In the Update function I check for Inputer.GetKey(KeyCode.enter) //thats a rough line, Not sure if its exactly how it should be.

Anyways, NOW while focus is inside of a textfield, Unity NO LONGER proccess any Input requests…

Basically… If Im inside of a textfield typing… and I press enter, It wont do anything… It doesnt get the Enter key…

Can this be confirmed by anyone else please?

Confirmed… this happens also in the delivered uLink ChatGUI script which no longer works under 3.4.

The character field is set to expect a defined key to allow you to complete the text using (Input.GetKeyDown(typeByKey)) but just sits there. To get out, you have to alt-F4 the program.

Also reported this.

Regards

Graham

Found the solution.

This is actually a feature rather than a bug. Sorry bout that. Heres the full statement I came across while looking into the “Whats New”/

Input:
Win7 touchscreen input now fully supported.
Input.eatKeyPressOnTextFieldFocus added to be able to control input behavior during textfield focus. This is default true from 3.4 and forth. Set this to false to achieve pre 3.4 behavior.
Key input (i.e. Input.GetKeyDown) is now suppressed when a textfield is active. This is enabled only content built with 3.4 and later. To query key input during an active textfield, use Event.current in OnGUI.
Fixed support for mouse deltas from Apple’s Magic Trackpad.

Many thanks also :). I hate it when a new feature has default settings that kill the old stuff :slight_smile:

Regards

Graham