Input field caret/caret highlight working but not displaying

I don’t know why this is happening but in Unity, I added a screen space camera type canvas, and when I added an input field with no caret-related code whatsoever, it doesn’t work. The typing works and the caret can wedge between letters and move to different spots, but it is invisible. So is the highlighting. I can highlight, but the highlighted characters don’t change.

Steps to reproduce:

Add a canvas.

Change the canvas type to screen space camera and change the camera to orthographic.

Change the canvas to scale with screen size, and make it 1920x1080.

Add an input field, hit play and test.

This has now been fixed in 5.2.2

https://unity3d.com/unity/whats-new/unity-5.2.2

(725106) - Fixed issue with inputfield
caret/ highlight not displaying