Response options always show the same default text

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
lostmushroom
Posts: 192
Joined: Mon Jul 01, 2019 1:21 pm

Response options always show the same default text

Post by lostmushroom »

Hi Tony, I've broken something and can't figure out how.

My response options have started showing the "default" text in the Dialogue UI prefab, so all my dialogue options now say "dialogue option goes here" instead of what they're supposed to say.

This goes away when I switch to using a different Dialogue UI prefab, so it seems like something has gone wrong within the prefab I was working with. The last thing I did was add TextMesh Pro, if that helps. Do you have any pointers on what might be causing this?

Thanks :)
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

Re: Response options always show the same default text

Post by Tony Li »

Hi,

In the Dialogue System Welcome Window, make sure the TMP_PRESENT checkbox is ticked, or check for TMP_PRESENT in menu item Edit > Project Settings -> Player > Other Settings > Scripting Define Symbols. If you've recently added a new build platform and switched to that platform, TMP_PRESENT may not be ticked for that platform's settings.

If that looks OK, inspect the StandardUIMenuPanel component on your dialogue UI's response menu panel. Make sure the buttons are assigned to the button template or Buttons list, and that the button(s)' StandardUIResponseButton's Label field is assigned.
lostmushroom
Posts: 192
Joined: Mon Jul 01, 2019 1:21 pm

Re: Response options always show the same default text

Post by lostmushroom »

Thanks Tony, it's working now. Looks like it was something to do with the buttons not being assigned.
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

Re: Response options always show the same default text

Post by Tony Li »

Glad to help!
Post Reply