I'm trying to make a custom dialogue UI with subtitle and responce menu panels.
Each time I click on a dialogue trigger object:
Conversation starts (main panel and subtitle panel activate)
Main panel deactivates before subtitle text even appears
It used to throw Coroutine couldn't be started error but I installed a patch I found on this forum in a topic with a similar problem. No errors now, same behavior though. What should I do?
The UI worked for some time until I messed with the layout groups (?). Not sure if that's what caused the problem since it has nothing to do with dialogue itself?
You should see "Shoud I take a nap?" in the dialogue UI. Here are some things to try:
1. Temporarily assign the Basic Standard Dialogue UI prefab to the Dialogue Manager's Display Settings > Dialogue UI field. Then play the scene and start the conversation. Does the line appear in the basic UI?
2. Try your custom dialogue UI again. After you start the conversation, inspect the dialogue UI. Does the subtitle text contain "Shoud I take a nap?" If so, then it's setting the text but the text isn't visible for some reason. Maybe it's positioned off screen, or maybe a Canvas Group's Alpha is set to zero.
Thank you for your reply. I tried the first two and here's what came of it:
It works perfectly fine with Basic UI.
The subtitle text is there. Moreover, the menu buttons have the right text too. It's just that the entire UI panel (the element containing both the subtitle and the menu panels as children and a UI panel element) suddenly becomes inactive on its own, as if in the end of the dialogue. Could there be any reason why it happens?
YuRo711 wrote: ↑Tue Jul 04, 2023 6:44 pmThe subtitle text is there. Moreover, the menu buttons have the right text too. It's just that the entire UI panel (the element containing both the subtitle and the menu panels as children and a UI panel element) suddenly becomes inactive on its own, as if in the end of the dialogue. Could there be any reason why it happens?
Which panel is inactive? Is its GameObject inactive, or is it active but not visible?
You could try assigning the Standard UI Subtitle Panel and Standard UI Menu Panel > Panel fields. Can you post a screenshot of your dialogue UI's hierarchy?