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
Response options always show the same default text
-
- Posts: 192
- Joined: Mon Jul 01, 2019 1:21 pm
Re: Response options always show the same default text
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.
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.
-
- Posts: 192
- Joined: Mon Jul 01, 2019 1:21 pm
Re: Response options always show the same default text
Thanks Tony, it's working now. Looks like it was something to do with the buttons not being assigned.
Re: Response options always show the same default text
Glad to help!