Page 1 of 2

I've broken it - Conversation text not coming through...

Posted: Tue Nov 05, 2024 5:39 pm
by gamingdebugged
Hi all,

Please could you help. I have done something that has stopped the conversation text coming through to the UI.

The database is set, the images are coming through but not the text.

https://drive.google.com/file/d/11kwGyy ... sp=sharing

Any help is appreciated :D

Re: I've broken it - Conversation text not coming through...

Posted: Tue Nov 05, 2024 6:49 pm
by Tony Li
Hi,

1. Open the Welcome Window. Make sure the TMP_PRESENT checkbox is still ticked.

2. Inspect your dialogue UI. Make sure the subtitle panels' Subtitle Text fields are still assigned.

3. Make sure the correct dialogue UI is assigned to the Dialogue Manager's Display Settings > Dialogue UI field.

4. Test the scene.

4. If it still doesn't work, temporarily set the Dialogue Manager's Other Settings > Debug Level to Info. Then reproduce the issue. If you see lines in the Console like "Dialogue System: (Actor) says: 'Hey Sai, another checkup?'" then the conversation is working but the issue is with the dialogue UI.

Re: I've broken it - Conversation text not coming through...

Posted: Wed Nov 06, 2024 6:22 am
by gamingdebugged
Thanks for replying.

1 - TMP_PRESENT is NOW checked... no change

2 - See attachment - when I try and drag the GameObjects into Portrait name or text into this box it doesn't take. do I just use a prefab from the list?

Re: I've broken it - Conversation text not coming through...

Posted: Wed Nov 06, 2024 6:29 am
by gamingdebugged
I think the Dialogue is triggering in the console... This is a different scene but the dialog is correct... It might be a UI problem...

Dialogue System: Add Link (Colonel): ID=1:1 'Come in GuestBot 306, please confirm pilot name and how you gained access to SATA station? Over.
' (True)

Re: I've broken it - Conversation text not coming through...

Posted: Wed Nov 06, 2024 7:23 am
by Tony Li
It's a UI problem. When you enable TMP_PRESENT and the project is able to compile, the Subtitle Text field should look like this, with an additional slot for TextMeshProUGUI:

Image

Re: I've broken it - Conversation text not coming through...

Posted: Wed Nov 06, 2024 9:37 am
by gamingdebugged
TMP_PRESENT is activated and the settings you suggested are correct. Here are some of the other settings...

Re: I've broken it - Conversation text not coming through...

Posted: Wed Nov 06, 2024 9:55 am
by Tony Li
Hi,

You must assign a TextMeshProUGUI component to the Subtitle Text field:

assignTMPro.png
assignTMPro.png (38.12 KiB) Viewed 89 times

Re: I've broken it - Conversation text not coming through...

Posted: Wed Nov 06, 2024 10:48 am
by gamingdebugged
Tony... you are a LEGEND!!!!

That worked! I have no idea why that happened across all scenes with a dialogue manager...

I can't thank you enough. My last back up was a month ago so you really saved my sanity!!

Re: I've broken it - Conversation text not coming through...

Posted: Wed Nov 06, 2024 11:08 am
by Tony Li
Hi,

Glad to help!

You may have installed a new build platform (e.g., WebGL or iOS) and switched build platforms. When you tick the TMP_PRESENT checkbox, the Welcome Window is only able to set the TMP_PRESENT Scripting Define Symbol for platforms that are currently installed. If you install another platform after that, then the Dialogue System's TextMesh Pro support won't be enabled for it, and it will lose the Subtitle Text assignment.

Re: I've broken it - Conversation text not coming through...

Posted: Wed Nov 06, 2024 11:15 am
by gamingdebugged
Good to know...

I was using the Corgi Engine and then installed FEEL but later found out that I didn't need to and I had lots of conflicts. I removed feel, MMTools and MMFeedbacks and had to re-import.

This seems to change a few settings post update.