respond button is sometimes not selected.

Announcements, support questions, and discussion for the Dialogue System.
aaajiao
Posts: 53
Joined: Tue Sep 01, 2020 5:41 am

respond button is sometimes not selected.

Post by aaajiao »

https://ibb.co/J2YP384
Normally.

https://ibb.co/4fWp5dJ
randomize
Screen Shot 2020-09-18 at 1.53.11 AM.png
Screen Shot 2020-09-18 at 1.53.11 AM.png (57.4 KiB) Viewed 913 times
This is my setting, it comes up very randomly, most of it works fine, but sometimes it just doesn't select, and when you select it again with the up and down buttons, it's back up again!

I use the Standard Dialogue UI.
:?: :?: :?:
User avatar
Tony Li
Posts: 22163
Joined: Thu Jul 18, 2013 1:27 pm

Re: respond button is sometimes not selected.

Post by Tony Li »

Hi,

Inspect the Dialogue Manager. Tick the Input Device Manager's Always Auto Focus checkbox.

Then check your dialogue UI's Standard UI Menu Panel component. Make sure Focus Check Frequency and Refresh Selectables Frequency are both greater than zero.
aaajiao
Posts: 53
Joined: Tue Sep 01, 2020 5:41 am

Re: respond button is sometimes not selected.

Post by aaajiao »

hey Tony,
That's how I've always set it up, and it should all include what you said.
Screen Shot 2020-09-18 at 11.14.17 AM.png
Screen Shot 2020-09-18 at 11.14.17 AM.png (90.31 KiB) Viewed 909 times
Screen Shot 2020-09-18 at 11.13.28 AM.png
Screen Shot 2020-09-18 at 11.13.28 AM.png (154.9 KiB) Viewed 909 times
User avatar
Tony Li
Posts: 22163
Joined: Thu Jul 18, 2013 1:27 pm

Re: respond button is sometimes not selected.

Post by Tony Li »

Hi,

Is another script (outside of the Dialogue System) stealing focus?

Did you tick the Dialogue Manager > Input Device Manager's Always Auto Focus checkbox?

When playing, keep an Inspector on the Input Device Manager. What is its input mode? (Mouse? Keyboard? Joystick?)

Then play again and keep an Inspector on the EventSystem. What is selected?

Please feel free to send a reproduction project to tony (at) pixelcrushers.com. I'll be happy to take a look.
aaajiao
Posts: 53
Joined: Tue Sep 01, 2020 5:41 am

Re: respond button is sometimes not selected.

Post by aaajiao »

:shock: :shock: :shock:

I'm using Rewired.
I used Input Device Manager Rewired replace Input Device Manager
Screen Shot 2020-09-18 at 6.06.09 PM.png
Screen Shot 2020-09-18 at 6.06.09 PM.png (205.14 KiB) Viewed 900 times
Screen Shot 2020-09-18 at 6.07.08 PM.png
Screen Shot 2020-09-18 at 6.07.08 PM.png (147.21 KiB) Viewed 900 times
User avatar
Tony Li
Posts: 22163
Joined: Thu Jul 18, 2013 1:27 pm

Re: respond button is sometimes not selected.

Post by Tony Li »

Hi,

Please keep Input Device Manager enabled, too. Input Device Manager Rewired is like an add-on for it.
aaajiao
Posts: 53
Joined: Tue Sep 01, 2020 5:41 am

Re: respond button is sometimes not selected.

Post by aaajiao »

:roll:

Well, it's mostly absent when exported to a app, but it's still the case when unity is running.
User avatar
Tony Li
Posts: 22163
Joined: Thu Jul 18, 2013 1:27 pm

Re: respond button is sometimes not selected.

Post by Tony Li »

Hi,

What do you mean by "mostly absent?" Do you mean it doesn't keep the button selected?

If so, does your EventSystem use the RewiredStandaloneInputModule?

What platform are you building for?
aaajiao
Posts: 53
Joined: Tue Sep 01, 2020 5:41 am

Re: respond button is sometimes not selected.

Post by aaajiao »

Hey Tony

RewiredStandaloneInputModule,yes
mac os

mostly absent - I don't see this happening right now when the bulid is followed, but if it's run in unity, it's happening!
User avatar
Tony Li
Posts: 22163
Joined: Thu Jul 18, 2013 1:27 pm

Re: respond button is sometimes not selected.

Post by Tony Li »

Hi,

Would you please post a screenshot of your Input Device Manager component? (Not the Input Device Manager Rewired component.)

Can you send a reproduction project to tony (at) pixelcrushers.com?
Post Reply