Dialog skips first line - from "Dialogue System for Unity 2.x Dialogue UI Tutorial 2"

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
mutagen13
Posts: 6
Joined: Mon Jul 07, 2025 3:18 am

Dialog skips first line - from "Dialogue System for Unity 2.x Dialogue UI Tutorial 2"

Post by mutagen13 »

Hello, I posted a comment on this video:

I followed this video, but when I start the converstation it seems to skip the first line spoken by Private Hart ("We need to intercept..."). The first thing I see is the player's response, "Okay, what's the problem?". Any tips on what I might be doing wrong? When I add a node in between Start and "We need to intercept" it skips that node and plays "We need to intercept".

I made sure the Dialogue Manager's Display Settings > Subtitle Settings > Show NPC Subtitles During Line checkbox is ticked.

There are no errors/warnings in the Console when I play.

I attached an image of my Dialog Manager's Display Settings inspector to this post.

There's also a video of the issue here:

Any help much appreciated!
Attachments
DialogSystem_SkipsLineIssue.png
DialogSystem_SkipsLineIssue.png (79.33 KiB) Viewed 124 times
User avatar
Tony Li
Posts: 23388
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialog skips first line - from "Dialogue System for Unity 2.x Dialogue UI Tutorial 2"

Post by Tony Li »

Hi,

Thanks for posting the info. Your screenshots look correct.

Are there any errors or warnings in the Console window when you play?

If you temporarily assign the Basic Standard Dialogue UI prefab to the Dialogue Manager's Display Settings > Dialogue UI field and play the scene, does it show the first line? If it shows the first line, then we know to look at your dialogue UI. If it doesn't show the first line, we know it's not specific to your dialogue UI and we can look elsewhere.
mutagen13
Posts: 6
Joined: Mon Jul 07, 2025 3:18 am

Re: Dialog skips first line - from "Dialogue System for Unity 2.x Dialogue UI Tutorial 2"

Post by mutagen13 »

Thanks for your reply.

There are no errors, warnings, or logs in the Console.

When I assign the Basic Standard Dialogue UI to the Dialogue Manager it works fine. The issue seems to be with my custom-made UI.

Attaching screenshots of some of the components...
Attachments
My_Subtitle_Panel.png
My_Subtitle_Panel.png (103.44 KiB) Viewed 86 times
My_Dialog_UI.png
My_Dialog_UI.png (70.79 KiB) Viewed 86 times
My_Dialog_Panel.png
My_Dialog_Panel.png (59.58 KiB) Viewed 86 times
User avatar
Tony Li
Posts: 23388
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialog skips first line - from "Dialogue System for Unity 2.x Dialogue UI Tutorial 2"

Post by Tony Li »

Hi,

Thanks for posting the screenshots. They look okay.

Try ticking the subtitle panel's "Wait For Show Animation To Set Open" checkbox. Maybe the text is appearing and finishing before the subtitle panel's show animation has made the panel visible.

To help confirm this, you can temporarily set the Dialogue Manager's Other Settings > Debug Level to Info. Then reproduce the issue. The Console window will log the activity of every line of dialogue, along with timestamps. You can check the timestamps to confirm that the first subtitle lasts for the expected amount of time.

You could also tick "Delay Typewriter Until Open" if your Subtitle Text has a TextMeshProTypewriterEffect component.
mutagen13
Posts: 6
Joined: Mon Jul 07, 2025 3:18 am

Re: Dialog skips first line - from "Dialogue System for Unity 2.x Dialogue UI Tutorial 2"

Post by mutagen13 »

Try ticking the subtitle panel's "Wait For Show Animation To Set Open" checkbox.
> tried it, the issue persists

tick "Delay Typewriter Until Open" if your Subtitle Text has a TextMeshProTypewriterEffect component.
> tried it, the issue persists. I also tried disabling this component entirely, but that didn't help either.

I set up the logging as you suggested, screenshot attached. Not sure what to make of it, I assume the event at 16:10:16 "Dialogue System: Conversation says" is when the text is shown, but not sure what tells me how long it stays on the screen.
Attachments
PC_Forum_2.png
PC_Forum_2.png (131.74 KiB) Viewed 80 times
User avatar
Tony Li
Posts: 23388
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialog skips first line - from "Dialogue System for Unity 2.x Dialogue UI Tutorial 2"

Post by Tony Li »

The last two lines in that Console screenshot indicate that the Delay() sequencer command should show the subtitle for 3.166667 seconds before showing the response menu. (More info: How To: Control the Duration of Subtitle Text)

Can you send a reproduction project or an export of your dialogue UI to tony (at) pixelcrushers.com?
mutagen13
Posts: 6
Joined: Mon Jul 07, 2025 3:18 am

Re: Dialog skips first line - from "Dialogue System for Unity 2.x Dialogue UI Tutorial 2"

Post by mutagen13 »

I found the issue by comparing my version of the UI to the Basic Standard Dialog UI.

On my Subtitle Panel, when I set the Visibilty to "Until Superceded", then the dialog from Private Hart appears as desired.

I had this set to "Always from Start", and with that setting the issue occurs.
mutagen13
Posts: 6
Joined: Mon Jul 07, 2025 3:18 am

Re: Dialog skips first line - from "Dialogue System for Unity 2.x Dialogue UI Tutorial 2"

Post by mutagen13 »

I went ahead and emailed you an exported package with my custom dialog UI, just in case it's helpful for your own debugging purposes.
User avatar
Tony Li
Posts: 23388
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialog skips first line - from "Dialogue System for Unity 2.x Dialogue UI Tutorial 2"

Post by Tony Li »

Hi,

Thanks! I'll look today and provide a fix or explanation.
Post Reply