Continue Button/Response Panel Losing Focus with New Unity Input System

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
cptscrimshaw
Posts: 113
Joined: Sun Sep 20, 2020 8:21 pm

Continue Button/Response Panel Losing Focus with New Unity Input System

Post by cptscrimshaw »

Hi Tony,

I'm using the new Unity input system along with a gamepad and I'm running into an issue where "sometimes" the dialogue Continue button works, and sometimes the response panel navigation works, and sometimes they don't. It seems like sometimes they gain focus when I look at the EventSystem and sometimes they do not.

For example, when I start a conversation and the first selectable would be the NPC continue button, it shows the previous item in the EventSystem (which is an item from UIS) instead of the continue button. Is there a way to force it to focus beyond what I have in my setup already?

https://ibb.co/nP4KkvL

Let me know if there is other information I can provide, and thanks!
User avatar
Tony Li
Posts: 22158
Joined: Thu Jul 18, 2013 1:27 pm

Re: Continue Button/Response Panel Losing Focus with New Unity Input System

Post by Tony Li »

Hi,

Is the Dialogue Manager's Input Device Manager > Always Auto Focus checkbox ticked?
cptscrimshaw
Posts: 113
Joined: Sun Sep 20, 2020 8:21 pm

Re: Continue Button/Response Panel Losing Focus with New Unity Input System

Post by cptscrimshaw »

No... it was not. That worked perfectly - I knew it was something simple. Thanks for the quick fix Tony!
User avatar
Tony Li
Posts: 22158
Joined: Thu Jul 18, 2013 1:27 pm

Re: Continue Button/Response Panel Losing Focus with New Unity Input System

Post by Tony Li »

Glad to help!
Post Reply