Subtitle not showing when starting conversation

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
andreas.leurs
Posts: 10
Joined: Wed Jun 25, 2025 7:40 pm

Subtitle not showing when starting conversation

Post by andreas.leurs »

Hello,

I'm new to the Dialogue System and heavily modified it.

Why did I do that? I want all the dialogs and text in 3D speechbubbles directly in the world. Not as the default Canvas UI elements.

So I made my own SpeechBubbleDialogueUI.
And code of the SpeechBubbleSubtitlePanel which should show the text of the conversation.
Code is attached:

This is how I start the conversation:

DialogueManager.StartConversation(conversationName, collider.transform, this.transform);

This correctly calls the function Open() in SpeechBubbleDialogueUI. I checked that. But nothing happens after that.
There should be created a SpeechBubbleDialogueUI but it isn't.
There's no error.
How can I solve this issue? Did I changed to much in the Unity Dialogue System?

I just want to use that to store all the quests and dialogs. The presentation of that will be handled by me.
Attachments
code for speechbubbles.txt
(2.02 KiB) Downloaded 22 times
User avatar
Tony Li
Posts: 23360
Joined: Thu Jul 18, 2013 1:27 pm

Re: Subtitle not showing when starting conversation

Post by Tony Li »

Hi,

What about using these instructions instead? How To: Show Overhead Conversation Bubble Text

If you don't want to do that, and if you want to continue using your custom dialogue UI code, make sure your SpeechBubbleDialogueUI is on a GameObject. Then assign that GameObject to the Dialogue Manager's Display Settings > Dialogue UI field. When a conversation starts, the Dialogue System will call the SpeechBubbleDialogueUI component's Open() method and then its ShowSubtitle() method.
andreas.leurs
Posts: 10
Joined: Wed Jun 25, 2025 7:40 pm

Re: Subtitle not showing when starting conversation

Post by andreas.leurs »

Thanks for the hint. I will try it.
andreas.leurs
Posts: 10
Joined: Wed Jun 25, 2025 7:40 pm

Re: Subtitle not showing when starting conversation

Post by andreas.leurs »

Thanks. It works. Still need to fix some things but the speech bubbles itself work as intended.
User avatar
Tony Li
Posts: 23360
Joined: Thu Jul 18, 2013 1:27 pm

Re: Subtitle not showing when starting conversation

Post by Tony Li »

Great! Happy to help. If you prefer a different look to your speech bubbles, there's another prefab in the free Feel + Text Animator + Dialogue System demo scene package. The Dialogue System also has Lively Chat Bubbles integration.
Post Reply