Is it something of bug with Subtitle panel?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
fbthd1234
Posts: 10
Joined: Wed Jun 28, 2023 6:16 am

Is it something of bug with Subtitle panel?

Post by fbthd1234 »

before.PNG
before.PNG (296.06 KiB) Viewed 376 times
hi.

I am developing a game using Dialogue System For Unity.

The above snapshot was implemented using the Standard UI Subtitle Panel and is using the Accumlate Text option with the option enabled.

There is no separate custom script work, but it is being output in the form above.

I need help printing my text without duplicates.
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: Is it something of bug with Subtitle panel?

Post by Tony Li »

Hello,

What does your conversation look like in the Dialogue Editor window?
fbthd1234
Posts: 10
Joined: Wed Jun 28, 2023 6:16 am

Re: Is it something of bug with Subtitle panel?

Post by fbthd1234 »

Thank you for your reply.

I don't know what you mean by Dialogue Editor window. If you are referring to the Subtitle Text of the Subtitle Panel, its inspector is normal to look at. There is no duplicated text.

I found the cause of this bug. I'm using TextProMesh Text, but if I use UGUI Text instead, that bug disappears.

But I have to use TextProMesh's link rich text. Can you help me solve it?
Attachments
After.png
After.png (30.62 KiB) Viewed 356 times
fbthd1234
Posts: 10
Joined: Wed Jun 28, 2023 6:16 am

Re: Is it something of bug with Subtitle panel?

Post by fbthd1234 »

The same bug occurs in English Text. I don't think it's just a problem with Korean Text.
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: Is it something of bug with Subtitle panel?

Post by Tony Li »

Hi,

Can you send a reproduction project to tony (at) pixelcrushers.com?
fbthd1234
Posts: 10
Joined: Wed Jun 28, 2023 6:16 am

Re: Is it something of bug with Subtitle panel?

Post by fbthd1234 »

Sure.

I sent mail to you.
Thank you.
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: Is it something of bug with Subtitle panel?

Post by Tony Li »

Thank you for sending the reproduction project.

On the Subtitle Text_TMP GameObject, UNtick the TextMesh Pro Typewriter Effect's "Play On Enable" checkbox. The subtitle text will play the typewriter effect when it's ready to play.

Also, TMPro doesn't recognize <color=darkblue>. Try just <color=blue>. Or, if you want to use a different color for each actor, set the actor's Display Name. Example:
  • Name: 인물A
  • Use Display Name: ticked
  • Display Name: <color=blue>인물A<color>
Or add a Dialogue Actor component to the actor's GameObject. Set the Actor dropdown, and tick Dialogue UI Settings > Set Subtitle Color.
fbthd1234
Posts: 10
Joined: Wed Jun 28, 2023 6:16 am

Re: Is it something of bug with Subtitle panel?

Post by fbthd1234 »

Thank you to your guide.

color is regacy rich text by UGUI Text.

Other guide points will be applied. Is the bug about the text output above solved?

I can't access my project now because it's the weekend. I'd be very happy if you could tell me it's settled.
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: Is it something of bug with Subtitle panel?

Post by Tony Li »

Yes, if you make the changes above then your subtitle panel should work.
Post Reply