Page 1 of 1

Suddenly all my dialogue entries are 'false'

Posted: Thu Mar 01, 2018 3:49 pm
by Franky
I don't know what changed, but I deleted one node somewhere, and suddenly a lot of nodes just say 'False'. They still have the proper dialogue text in the inspector, but the node view just says 'False'. In the game, it also just says 'False'.

Here's a screenshot.

Any idea what happened and how to fix this? Redoing this dialogue would take me days.

Re: Suddenly all my dialogue entries are 'false'

Posted: Thu Mar 01, 2018 3:58 pm
by Tony Li
Hi,

Very first thing, make a copy of your database's auto-backup file. In the worst case, if auto-backups haven't overwritten it, you can use this older version.

Then try to close the Dialogue Editor window and re-open it. I have a feeling that everything should appear OK after this. If so, please let me know. I'll scour the editor code for any potential situations that could produce this display issue.

Re: Suddenly all my dialogue entries are 'false'

Posted: Thu Mar 01, 2018 4:26 pm
by Franky
Thanks for the reply.

I restarted Unity and unfortunately it showed up fine again in the editor at first, but after running the game, it's back to false false false. Restarted again, same thing happened.

Re: Suddenly all my dialogue entries are 'false'

Posted: Thu Mar 01, 2018 6:25 pm
by Tony Li
What versions of Unity and the Dialogue System are you using? To get the Unity version, select Help > About Unity.... To get the Dialogue System version, select Window > Dialogue System > Welcome Window.

Are there any errors or warnings in the Console window?

Re: Suddenly all my dialogue entries are 'false'

Posted: Fri Mar 02, 2018 3:16 am
by Franky
Unity 5.6.1f1
UDS 1.7.7.1

No warnings or errors. It doesn't even have to execute anything that has to do with the dialogue system. As soon as the dialogue manager running the DB is active, the dialogue entries turn to false false false.

Re: Suddenly all my dialogue entries are 'false'

Posted: Fri Mar 02, 2018 9:21 am
by Tony Li
Can you make a backup of your project and then update to 1.7.7.2?

If that's not possible, would you please send a copy of your dialogue database to tony (at) pixelcrushers.com? (All customer files are handled confidentially.)

Re: Suddenly all my dialogue entries are 'false'

Posted: Fri Mar 02, 2018 2:32 pm
by Tony Li
Recording the resolution here: It looks like a custom Boolean field with a blank title was added to the template and applied to conversations. The node editor was incorrectly show this field's value instead of Dialogue Text, making the assumption that this field is intended to be a language-localized version of the Dialogue Text.

The fix is in a patch that will be released at the end of the weekend. The patch also includes a menu item to scrub fields with empty titles from your database. (Franky - I emailed you the patch.)