Input Field with Multi Line set does not work properly

How to reproduce:

  1. Open the attached scene file
  2. Run in Unity Editor
  3. See the Input Field. It has over-length contents that spread on multi lines
  4. Try to move the cursor to the next line by keyboard
  5. Notice that the cursor moves to the center of the Input Field, while contents on the next line do not show

Update:
Reproducible: 5.4.5f1, 5.5.1p4, 5.5.2f1, 5.5.2p2
Not reproducible: 5.3.6f1, 5.6.0b10

Issue is not device specific. All computers in out studio encounter the same issue. We use Input Fields in our scene editor, which runs in Unity Editor. Input Fields with Multi Line set being not working makes our work hard to go on.

Input Field with Multi Line set in scene:

When you have moved the cursor to the end of the last visible line and want to go any further…

Unity 5.3.6f1 and 5.6.0b10 give you the correct result:

While Unity 5.4.5f1,5.5.1p4, 5.5.2f1 and 5.5.2p2 move the cursor to a weird place, and not showing wrapped contents at all:

So, is there any way to make multi-line InputField work?

Thanks in advance. This is very essential for our development.

2990720–222674–InputFieldTest.7z (6.05 KB)

I ran into this as well, and when I googled this issue, it appears to be an old issue. Ultimately I did what I could to work around the issues, but they do still exist.

Hopefully now that Unity acquired TextMesh Pro, there’s an alternative solution in there.