- Home /
Question by
SweatyChair · Nov 02, 2018 at 12:14 AM ·
uiinputfieldcopy-paste
[Bug?] uGUI InputField - Last line disappeared after cut&paste
I found a strange behavior in uGUI InputField and wonder if it's a bug or any way to fix it?
Reproduce:
Create a generic InputField using Menu>GameObject>UI>InputField
Set "Line Type" as "Multi Line Newline".
Play the scene and enter few lines.
Use ctrl-c to cut few lines till the 2nd last line.
Use ctrl-v to paste again and last line is disappeared.
Click anywhere of the InputField the last line appear again.
Repeat 3-5 for lines but not till 2nd last line, it works fine.
Unity2018.2.10.f1
Comment
Best Answer
Answer by SweatyChair · Nov 28, 2018 at 06:56 AM
Submitted a bug report and Unity has confirmed it's a bug.
Vote for it if it matters to you too: Issue 1103315