TextInput - TextFieldUI doesn't enable after first time

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
andreasr
Posts: 8
Joined: Mon Oct 12, 2020 7:58 pm

TextInput - TextFieldUI doesn't enable after first time

Post by andreasr »

Hey Tony,

I currently have a TextInput that works fine, but if the Input is too few characters, it loops back around to ask for the input again. But, for some reason, on the loop around the TextInput doesn't work. In the Debug Level Info it shows like it is working fine, shows the TextInput and no errors, but the but the TextFieldUI object and children don't enable. This happens at other points in the project too, always is fine the first call but afterwards the objects don't enable. Any ideas would be helpful, thanks!!
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: TextInput - TextFieldUI doesn't enable after first time

Post by Tony Li »

Hi,

Does it work if you loop to a different node (e.g., "That input is too short. Please try again.") and then to the TextInput() node?
andreasr
Posts: 8
Joined: Mon Oct 12, 2020 7:58 pm

Re: TextInput - TextFieldUI doesn't enable after first time

Post by andreasr »

No, that's exactly how it's setup now. TextInput -> Empty Node -> "That's too short" -> TextInput
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: TextInput - TextFieldUI doesn't enable after first time

Post by Tony Li »

Hi,

Does the example scene in How To: Read Input From Player During Conversations work correctly in your project?
Post Reply