Skipping dialogue sometimes causes names to appear twice

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Keeko
Posts: 33
Joined: Mon Feb 01, 2021 8:08 pm

Skipping dialogue sometimes causes names to appear twice

Post by Keeko »

https://imgur.com/a/gWJeJif

The name is written twice for the character if you click the skip button, interestingly this doesn't happen on all conversations. None of my conversations have "Override Display Settings" checked either.

Any ideas on what is causing this?

I seen this bug once before, and very strangely I fixed it by turning off "Display all non-primary actor names" in the view settings for the Dialogue window, but it seems to appear for random conversations now?
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: Skipping dialogue sometimes causes names to appear twice

Post by Tony Li »

Hi,

Two different built-in features can prepend the actor's name:

1. Ticking the Standard UI Subtitle Panel's Add Speaker Name checkbox.

2. Or, if the actor's GameObject has a Dialogue Actor component, ticking the actor's Set Subtitle Color checkbox and Apply Color to Prepended Name checkbox.

If you are using one of those features, don't use the other.

If your own script(s) have an OnConversationLine() method, that could be adding the name, too.
Keeko
Posts: 33
Joined: Mon Feb 01, 2021 8:08 pm

Re: Skipping dialogue sometimes causes names to appear twice

Post by Keeko »

Hey tony,

I don't use an actor gameobject, i just rely on the data from the conversation itself.

Strangely this issue only occurs when the text is displayed after clicking the skip option, any ideas why that might be?
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: Skipping dialogue sometimes causes names to appear twice

Post by Tony Li »

Hi,

That's an oversight in SkipAll(). This patch should fix it:

DS_SkipAllPatch_2024-01-04.unitypackage

(This update will also be in version 2.2.43.)
Keeko
Posts: 33
Joined: Mon Feb 01, 2021 8:08 pm

Re: Skipping dialogue sometimes causes names to appear twice

Post by Keeko »

Excellent,

Thank you Tony
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: Skipping dialogue sometimes causes names to appear twice

Post by Tony Li »

Glad to help!
Post Reply