Page 1 of 1

Response does not continue conversation

Posted: Sat Jan 19, 2019 2:17 pm
by Dragonception
Absolute beginner here. When I hover over the response, the response gets highlighted, but when I click it, absolutely nothing happens. I cannot continue the conversation. How come?

Image
Image

Re: Response does not continue conversation

Posted: Sat Jan 19, 2019 3:17 pm
by Tony Li
Hi,

Thanks for using the Dialogue System!

Make sure your response button(s) have a Standard UI Response Button component. This component is what tells the Dialogue System that the button was clicked. I'm guessing it does, since the menu panel appears to be assigning text correctly to the button.

Does the Basic Standard Dialogue UI work? You can temporarily point the Dialogue Manager's Dialogue UI field to the prefab Plugins / Pixel Crushers / Dialogue System / Prefabs / Standard UI Prefabs / Templates / Basic / Basic Standard Dialogue UI. When you're done testing, you can reassign your AW Standard Dialogue UI.

If the Basic works, compare the response button configuration to your own dialogue UI.

Also check general Unity UI functionality. Try ticking the Event System's Force Module Active checkbox. Verify that the button image's Raycast Target checkbox is ticked, and that no transparent UI elements are blocking the button -- although I'd think that it wouldn't even highlight in this case.

If that doesn't help, can you post a screenshot of your menu panel component?

If you're totally stuck, please feel free to send a reproduction project to tony (at) pixelcrushers.com. I'll be happy to take a look.

Re: Response does not continue conversation

Posted: Sat Jan 19, 2019 4:09 pm
by Dragonception
Thank you so far!

The click is detected: the color of the text changes when I click it (during hover).

The Basic Standard Dialogue UI does not have this problem.

I see no difference in the Response panels (except for the color), but have attached screenshots just to make sure. I have also attached the Menu panel (which also looks the same to me).

Image
Image
Image
Image

Re: Response does not continue conversation

Posted: Sat Jan 19, 2019 4:52 pm
by Dragonception
P.S. On the screenshot you see multiple instances of the Dialogue UI. I have deleted those, but that doesn't change anything.

Re: Response does not continue conversation

Posted: Sat Jan 19, 2019 5:00 pm
by Dragonception
Okay, we'll never know the reason, but I just remade the entire Dialogue UI and now it works. Probably some strange value somewhere in a Rect Transform?

Re: Response does not continue conversation

Posted: Sat Jan 19, 2019 5:09 pm
by Tony Li
In the screenshots, the Standard UI Menu Panel's Button Template and Button Template Holder weren't assigned. I think that may have been the issue. Anyway, I'm glad it's working now!

Re: Response does not continue conversation

Posted: Sat Jan 19, 2019 5:21 pm
by Dragonception
Thanks a lot for your fantastic help!