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

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Japtor
Posts: 120
Joined: Thu Jun 28, 2018 1:41 pm

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

Post 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! :)
Last edited by Japtor on Fri Dec 07, 2018 3:18 am, edited 1 time in total.
User avatar
Tony Li
Posts: 22057
Joined: Thu Jul 18, 2013 1:27 pm

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

Post 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.
User avatar
Tony Li
Posts: 22057
Joined: Thu Jul 18, 2013 1:27 pm

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

Post 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.
Japtor
Posts: 120
Joined: Thu Jun 28, 2018 1:41 pm

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

Post by Japtor »

Hi,

Thanks for finding the error! :)
Post Reply