Cant see dialogue text

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

Re: Cant see dialogue text

Post by hrohibil »

Yes i understand, but what about the nodes before that, all the nodes...?
My point is there is no text at all though I have text inside of them??
User avatar
Tony Li
Posts: 21975
Joined: Thu Jul 18, 2013 1:27 pm

Re: Cant see dialogue text

Post by Tony Li »

That bar at the bottom (in your screenshots) is the response menu panel.

When the NPC subtitle panel (not the response menu panel) appears, pause the game. Examine the NPC subtitle panel's Subtitle Text GameObject. Does the Text component contain any text? If not, then that's the problem.

If it does contain text, check the RectTransform settings to figure out why you can't see the text.

If you don't see the NPC subtitle panel at all, check their nodes' Sequence fields. Make sure they are blank or include {{default}} in addition to any other commands in them, such as:

Code: Select all

Camera(Something); {{default}}
hrohibil
Posts: 368
Joined: Thu Nov 04, 2021 12:50 pm

Re: Cant see dialogue text

Post by hrohibil »

Hello

Please see images.

I tried another conversation. As you see, only when i get to the blue node i get text? Nothing on the gray ones??
During NPC talk, I dont even get the UUI?




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

Re: Cant see dialogue text

Post by Tony Li »

Does this still happen if you assign one of the other prefab dialogue UIs?

If you still don't see the NPC text, then the problem is in your conversation. Maybe the Dialogue Manager's Default Sequence is missing "Delay({{end}})" or something. Or that NPC has a Dialogue Actor component that tells it to show its text somewhere else, like a custom panel that's not visible.

If you see NPC text with a different dialogue UI, then the issue is with your dialogue UI. Look for any warnings or errors in your Console window.

If you don't see text, do you see the player response menu (the blue node's text) right away? If so, it's a sequence issue. The other nodes' sequences are completing immediately, giving no time for them to display.
hrohibil
Posts: 368
Joined: Thu Nov 04, 2021 12:50 pm

Re: Cant see dialogue text

Post by hrohibil »

Hello Tony

I tried another Dialouge UI same results.
I then tried to add more nodes and discovered that ONLY the blue ones are showing??

A step closer to the solution :-)

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

Re: Cant see dialogue text

Post by Tony Li »

The blue nodes are showing the response menu.

We need to figure out why your gray nodes aren't showing up as subtitles.

Temporarily set the Dialogue Manager's Other Settings > Debug Level to Info. Then play and start a conversation. You should see lines similar to:

Dialogue System: Starting conversation 'Title' with actor=player and conversant=NPC
Dialogue System: NPC says 'I think we need to start a...'
Dialogue System: Player says 'you think?'
Dialogue System: NPC says 'Yes I think so...'

Some questions:
  • Do you see those lines in the Console window?
  • Are there any errors or warnings in the Console window?
  • In the Dialogue Editor, select Menu > Conversation Properties. What are the Actor and Conversant dropdowns set to?
  • Click on the first gray node. What is the Actor dropdown set to?
  • Do any characters in the scene have DialogueActor components? If so, set their Dialogue UI Settings > Subtitle Panel Number to Default.
hrohibil
Posts: 368
Joined: Thu Nov 04, 2021 12:50 pm

Re: Cant see dialogue text

Post by hrohibil »

Sorry for this noob question but in mobile mode how do i set a key to continue to next node? Its stuck in the first one until i hit the ESCAPE key. By the way does the ESCAPE key function as an abort or cancel ongoing dialogue?
User avatar
Tony Li
Posts: 21975
Joined: Thu Jul 18, 2013 1:27 pm

Re: Cant see dialogue text

Post by Tony Li »

When showing a subtitle, the Escape key cancels the subtitle and progresses to the next node of the conversation.

When showing a response menu (blue node), the Escape key cancels the conversation.

I recommend turning off the Escape key functionality entirely. Inspect the Dialogue Manager. Set Display Settings > Input Settings > Cancel Subtitle Input > Key and Cancel Conversation Input > Key to None.

Then set the Subtitle Settings > Continue Button dropdown to Always. This will make each subtitle wait for you to click the continue button. Make sure your subtitle panel has a continue button.

Dialogue UI Tutorials
hrohibil
Posts: 368
Joined: Thu Nov 04, 2021 12:50 pm

Re: Cant see dialogue text

Post by hrohibil »

Thank you I will look into that right away.

Tony please help on this one, no matter what I do, i cant get it working.
But at least I think I found the issue but don't know how to fix it.

It works an all my blue nodes. On the gray the UI is not visible. There must be something with the actor / npc releashinship
hrohibil
Posts: 368
Joined: Thu Nov 04, 2021 12:50 pm

Re: Cant see dialogue text

Post by hrohibil »

I have continue buttons, but as you see I am stuck at first node. Can I write something to force it after 2 seconds to go to next node? Thanks

Post Reply