Page 1 of 3
respond button is sometimes not selected.
Posted: Thu Sep 17, 2020 7:56 pm
by aaajiao
https://ibb.co/J2YP384
Normally.
https://ibb.co/4fWp5dJ
randomize
- Screen Shot 2020-09-18 at 1.53.11 AM.png (57.4 KiB) Viewed 761 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.
Re: respond button is sometimes not selected.
Posted: Thu Sep 17, 2020 8:41 pm
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.
Re: respond button is sometimes not selected.
Posted: Fri Sep 18, 2020 5:15 am
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 (90.31 KiB) Viewed 757 times
- Screen Shot 2020-09-18 at 11.13.28 AM.png (154.9 KiB) Viewed 757 times
Re: respond button is sometimes not selected.
Posted: Fri Sep 18, 2020 11:29 am
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.
Re: respond button is sometimes not selected.
Posted: Fri Sep 18, 2020 12:09 pm
by aaajiao
Re: respond button is sometimes not selected.
Posted: Fri Sep 18, 2020 12:46 pm
by Tony Li
Hi,
Please keep Input Device Manager enabled, too. Input Device Manager Rewired is like an add-on for it.
Re: respond button is sometimes not selected.
Posted: Sat Sep 19, 2020 2:56 pm
by aaajiao
Well, it's mostly absent when exported to a app, but it's still the case when unity is running.
Re: respond button is sometimes not selected.
Posted: Sat Sep 19, 2020 3:43 pm
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?
Re: respond button is sometimes not selected.
Posted: Sun Sep 20, 2020 4:49 am
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!
Re: respond button is sometimes not selected.
Posted: Sun Sep 20, 2020 9:48 am
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?