[Unity] Issues with TextBox.SetText
Posted: 13 Sep 2013, 17:44
Hi,
I was just playing with the trial version and found 2 issues. I tried to make a simple console, a TextBox for input and a TextBlock that shows everything that has been typed. When "enter" is pressed, the text from the TextBox will be attached to the text of the TextBlock and the TextBox will be cleared.
TextBox.SetText(null) causes an error. In this case null should be interpreted as empty string.
TextBox.SetText("") works fine, but after that, when I try to type text into the text box, Unity crashes because of an access violation.
I was just playing with the trial version and found 2 issues. I tried to make a simple console, a TextBox for input and a TextBlock that shows everything that has been typed. When "enter" is pressed, the text from the TextBox will be attached to the text of the TextBlock and the TextBox will be cleared.
TextBox.SetText(null) causes an error. In this case null should be interpreted as empty string.
TextBox.SetText("") works fine, but after that, when I try to type text into the text box, Unity crashes because of an access violation.