Page 1 of 1

[solved] Text Mesh Pro -> Dialogue Text Panel -> Text

Posted: Thu Dec 06, 2018 1:35 pm
by Japtor
Hi,

So today I have changed to Text Mesh Pro for the dialogues. I was using before a Standard UI Dialogue so I had to change to Text Mesh Pro Dialogue UI.

I have a problem with some texts that spawns inside the Text Panel. I have put my text alignment as Center & Middle.

The text should look like this:
Spoiler
What the dialogue should be:Image
However, there are some moments where the text spawns like this:
Spoiler
Sometimes...:Image
I am not really sure why. Any idea?

Thanks! :)

Re: Text Mesh Pro -> Dialogue Text Panel -> Text

Posted: Thu Dec 06, 2018 1:55 pm
by Tony Li
Text Mesh Pro Dialogue UI is primarily for legacy users who have upgraded their TextMesh Pro projects from Dialogue System version 1.x.

Can you use the Standard Dialogue UI and enable support for TextMesh Pro?

If you need to stay with the older Text Mesh Pro Dialogue UI, pause the game when this problem happens. Then inspect the TextMeshProUGUI component. Look for any setting on it that might cause it to behave like this. I can't identify the reason from those screenshots. If you want, you can send a copy of your project to tony (at) pixelcrushers.com. I can take a look and see if I can figure out why this happens.

Re: Text Mesh Pro -> Dialogue Text Panel -> Text

Posted: Thu Dec 06, 2018 10:10 pm
by Tony Li
Hi,

It appears that TextMesh Pro can't handle some invisible character in two Dialogue Text lines in your conversation. If you re-type those lines, it should work correctly.

Re: Text Mesh Pro -> Dialogue Text Panel -> Text

Posted: Fri Dec 07, 2018 3:18 am
by Japtor
Hi,

Thanks for finding the error! :)