Cant see dialogue text

Announcements, support questions, and discussion for the Dialogue System.
hrohibil
Posts: 369
Joined: Thu Nov 04, 2021 12:50 pm

Cant see dialogue text

Post by hrohibil »

Hello guys

Any thoughts on why I cant see the dialouge text in the UI prefab?
It is running same time as a camera sequencer

User avatar
Tony Li
Posts: 22146
Joined: Thu Jul 18, 2013 1:27 pm

Re: Cant see dialogue text

Post by Tony Li »

When this happens, pause the game and check if the dialogue UI's Subtitle Text GameObject has the dialogue text. If so, then the dialogue UI is correctly setting the text, but Unity UI just can't display it. This may be because the Subtitle Text's Rect Transform is too small for the size of the text and the font; or the Subtitle Text may be positioned where it's not visible.
hrohibil
Posts: 369
Joined: Thu Nov 04, 2021 12:50 pm

Re: Cant see dialogue text

Post by hrohibil »

Hello Tony

Which or where should the Dialogue text gameobject be?
I am using the Mobile Standard UI

User avatar
Tony Li
Posts: 22146
Joined: Thu Jul 18, 2013 1:27 pm

Re: Cant see dialogue text

Post by Tony Li »

Your screenshot shows the response menu panel. Expand it and check the button.
hrohibil
Posts: 369
Joined: Thu Nov 04, 2021 12:50 pm

Re: Cant see dialogue text

Post by hrohibil »

User avatar
Tony Li
Posts: 22146
Joined: Thu Jul 18, 2013 1:27 pm

Re: Cant see dialogue text

Post by Tony Li »

Inspect the Response Text and figure out why it's not visible. Maybe it's too small to fit your font. I don't know; it's going to be specific to your project.
hrohibil
Posts: 369
Joined: Thu Nov 04, 2021 12:50 pm

Re: Cant see dialogue text

Post by hrohibil »

Are you talking about this gameobject? That is the last one in the Response tree and as you can see on the left editor window there is nothing, i tried scalling etc.. Nothing..
Game is paused BTW

User avatar
Tony Li
Posts: 22146
Joined: Thu Jul 18, 2013 1:27 pm

Re: Cant see dialogue text

Post by Tony Li »

The Dialogue System names the button itself (the "Response:") GameObject with the node's text. Since the blue node doesn't have any text, the Response Text is blank. Add some text, or get rid of the blue node.
hrohibil
Posts: 369
Joined: Thu Nov 04, 2021 12:50 pm

Re: Cant see dialogue text

Post by hrohibil »

I deleted the blue node.

I will try to dig more into this, but very strange that i cant see the text
User avatar
Tony Li
Posts: 22146
Joined: Thu Jul 18, 2013 1:27 pm

Re: Cant see dialogue text

Post by Tony Li »

If the blue node doesn't have text, then of course you can't see any text. :-)
Post Reply