- Home /
Clicking input field doesn't indicate that a new text can be input now
When you click on an input field nothing changes. The "Enter text here ..." text is still there. You can input the text but the user should see that this is the case. Normally if you click on an input field it either removes the "Enter text here..." text and shows a blinking cursor or it selects the current text.
So how do I do that with the input field in Unity? And why isn't that the default behaviour in Unity?
Answer by lumizila · May 02, 2016 at 05:17 AM
Did you attach a script to the input field?
If you are using Unity 4.6 or above I would recommend watching this youtube video about it:
https://www.youtube.com/watch?v=QtbNDTMqsbg
I am sorry I can't give you a better answer to that.
Answer by MaxLohMusic · Jan 27 at 01:45 AM
I have the same issue; I removed every single other object from the scene but there's still some "magic rectangle" in the majority of the lower-left screen where if the input field object is placed there, the cursor won't blink; outside of it, it will blink.
I repro'd this on a completely empty scene. How to repro: Add default main camera, default canvas. Canvas scaler, scale with screen size, 1920 x 1080, screen match mode "expand" (AFAIK these are normal settings people are supposed to use). Then, just add a ton of small InputField objects all over the screen. Some are clickable and some aren't. The position at which they're clickable vs unclickable seems to be consistent, but doesn't seem to follow any pattern!
Update: Hey good news, looks like the bug is only when pressing play in the scene editor and doesn't repro in a real built game. However, it did cause me hours of debugging frustration