Page 1 of 1
Is it something of bug with Subtitle panel?
Posted: Wed Jun 28, 2023 6:41 am
by fbthd1234
- before.PNG (296.06 KiB) Viewed 384 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.
Re: Is it something of bug with Subtitle panel?
Posted: Wed Jun 28, 2023 9:54 am
by Tony Li
Hello,
What does your conversation look like in the Dialogue Editor window?
Re: Is it something of bug with Subtitle panel?
Posted: Wed Jun 28, 2023 10:46 pm
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?
Re: Is it something of bug with Subtitle panel?
Posted: Wed Jun 28, 2023 10:57 pm
by fbthd1234
The same bug occurs in English Text. I don't think it's just a problem with Korean Text.
Re: Is it something of bug with Subtitle panel?
Posted: Thu Jun 29, 2023 7:47 am
by Tony Li
Hi,
Can you send a
reproduction project to tony (at) pixelcrushers.com?
Re: Is it something of bug with Subtitle panel?
Posted: Fri Jun 30, 2023 3:33 am
by fbthd1234
Sure.
I sent mail to you.
Thank you.
Re: Is it something of bug with Subtitle panel?
Posted: Fri Jun 30, 2023 7:37 pm
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.
Re: Is it something of bug with Subtitle panel?
Posted: Sat Jul 01, 2023 6:56 am
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.
Re: Is it something of bug with Subtitle panel?
Posted: Sat Jul 01, 2023 8:37 am
by Tony Li
Yes, if you make the changes above then your subtitle panel should work.