Page 2 of 3

Re: Response Menu is not focused

Posted: Fri Jan 31, 2025 9:12 am
by Saper
This is almost certainly the issue. What DS version are you using? Is the response menu using one of the animator controllers that ship with the Dialogue System, or a custom one?
DS ver. 2.2.46.1
Unity ver. 2020.3.38f1
Response menu use "Canvas Group Animator Controller" from Dialogue System original files without any modifications

Re: Response Menu is not focused

Posted: Fri Jan 31, 2025 9:45 am
by Tony Li
Hi,

Can you back up your project and then update to DS 2.2.50.1? Then check if the problem is still present. This way we'll be on the same page and not potentially chasing down an issue that's already fixed.

Re: Response Menu is not focused

Posted: Mon Feb 03, 2025 9:32 am
by Saper
Hi Tony

After update no changes, still after first response menu other responsemenu is shown for half second or less and it go to next node after "response button node". Here is a snapshot of animator when response menu should show:
Image

And with Basic Standard Dialogue UI
After setting up Basic Standard Dialogue UI Response menu is showing but:
- I can't click action button to finish typewriter effect I must wait for typewriter effect to finish on it's own
- This is happening only on nodes before response nodes (green node on the screenshot)
- On other nodes action button finishes typewriter effect without any issue (one click finish typewriter effect, second click go to next node)

Re: Response Menu is not focused

Posted: Mon Feb 03, 2025 9:50 am
by Tony Li
Hi,

The quick "solution" would be to remove to replace the animator controller. Of course this will remove the fade animation. But if you don't need the fade animation, it's a way to get it working quickly.

If you do need the fade animation, can you please send a reproduction project to tony (at) pixelcrushers.com?

Re: Response Menu is not focused

Posted: Wed Feb 05, 2025 6:36 am
by Saper
Hi Tony

We looked in to the code of our own and i have new info:
- This is not problem with animator after cuting the Hide animation it's still go to next node after response node.
- We don't use standart "StandardUIContinueButtonFastForward" in our Dialogue Panels, we progress our dialogues via code using

Code: Select all

GetComponentInParent<AbstractDialogueUI>().OnContinue();
- On the start of the "respones menu" in one frame both OnContinue and Submit is called
- Also when we debug it, response menu response button was focused for one frame

Re: Response Menu is not focused

Posted: Wed Feb 05, 2025 11:46 am
by Saper
Hi Tony

I can't send a reproduction project. all info i could give you are in last post. Is there a method or some "If" that we can use?

Re: Response Menu is not focused

Posted: Wed Feb 05, 2025 2:33 pm
by Tony Li
Hi,

Can you make a simple example that demonstrates the same issue?

Is it possible that your code is advancing the conversation too far?

You write that the conversation goes to the node after the response node. Does this mean the conversation is moving past the response menu? If so, investigate why it's not stopping at the response menu.

Re: Response Menu is not focused

Posted: Thu Feb 06, 2025 9:06 am
by Saper
Hi Tony
Can you make a simple example that demonstrates the same issue?

Is it possible that your code is advancing the conversation too far?

You write that the conversation goes to the node after the response node. Does this mean the conversation is moving past the response menu?
Yes, conversation is moving past the response menu, it looks like this:
- Start Game
- Start Conversation
- Node 1: One click -> to finish type writer, Second click -> shows response menu
- Response menu: Click on Response 2 -> It's going to next node, Node 3
- Node 3: One click -> to finish type writer, Second click -> go to Node 5
- Node 5: One click -> to finish type writer, Second click -> shows response for split second and go to Node 6
- Response Menu: is skiped via problem
- Node 6: One click -> to finish type writer, Second click -> go to END
- Start Conversation
- Node 1: One click -> to finish type writer, Second click -> shows response for split second and go to Node 2
- Response Menu: is skiped via problem
- Node 2: One click -> to finish type writer, Second click -> go to Node 5
- Node 5: One click -> to finish type writer, Second click -> shows response for split second and go to Node 6
- Response Menu: is skiped via problem
- Node 6: One click -> to finish type writer, Second click -> go to END


We found the cause of the problem, it was my configuration of Standard Dialogue UI.
Response Menu wasn't under MainPanel. That's why when Input was blocked for Main Panel the Input on Response menu wasn't

Solution to my problem
- I created new MainUIPanel object
- I add Canvas Renderer, Canvas Group, and UI Panel components to new MainUIPanel
- Put all my dialogue box objects under new MainUIPanel
- Setup new MainUIPanel as Main Panel in Standard Dialogue UI

Re: Response Menu is not focused

Posted: Thu Feb 06, 2025 11:06 am
by Tony Li
Hi,

Great! All working now?

Also, as a side note: If your players are clicking too fast, you can set Block Input Durations on subtitle panels and menu panels.

Re: Response Menu is not focused

Posted: Tue Feb 18, 2025 5:46 am
by Saper
Hi Tony

I have next question what I need to do if I want Typer writer effect in textbox that is shown with responses buttons. Looking on screenshot it wil be a "Choose UI" node