Hi,
I have a random anoying problem that sometimes, continur button wont work when pressing submit button in the gamepad. It can happen at any point, on responses or continuing on NPC dialogues (it get stuck). Pressing "Space" (my continue button) on the keyboard will continue but not if trying pressing the Pad button. Its happening just sometimes, normally, submit button in the gamepad works.
Input Device Manager Rewired component is attached to the Dialogue Manager GameObject
Response buttons are not being instantiated and are already there, they have explicit navigation
Event System (rewired) shows a valid selected Response in the moment of getting stuck
Conitnue button is set to "always" and required on last time is also checked
Any clue?
Edit Update 1:
Also, when starting conversations i get this warning (NOT ALWAYS):
Rewired: The Action "Continue" does not exist. You can create Actions in the editor.
PixelCrushers.RewiredSupport.InputDeviceManagerRewired:RewiredGetButtonDown (string) (at Assets/Pixel Crushers/Common/Third Party Support/Rewired Support/InputDeviceManagerRewired.cs:37)
Edit Update 2:
Looks like "Require Continue on last line" is the culprit. Does it make sense?
Sounds like you've checked a lot. I would have thought the culprit was the button not being selected (focused), but you wrote this:
> Event System (rewired) shows a valid selected Response in the moment of getting stuck
So it sounds like the button does have focus. To be sure, try ticking the Dialogue Manager's Input Device Manager component > Always Auto Focus checkbox.
Do your response buttons' OnClick() events have anything assigned to them? If so, you must also assign StandardUIResponseButton.OnClick. (If anything's assigned StandardUIResponseButton will not automatically assign its OnClick method at runtime.)
Hi, when I thought it was gone..... Its happening again.
- I have set Always Auto Focus checkbox ON.
- Event system (rewired) has "Response" as selected (No response button shows up)
- Pressing Space works when stuck
- There is no OnClick on any response button
- Its NOT always happening
- Response Buttons have StandardUIResponseButton script attached. Confirm there is no StandardUIResponseButtonRewired (or similar)
When this happens, inspect your Rewired Input Manager and expand the debug info. When you press the Submit input, check if the debug info shows that it's pressed.
At any point, please feel free to send a reproduction project to tony (at) pixelcrushers.com
I really cant solve this bug. Here is an example of a conversation fail:
DialogueBug.jpg (190.93 KiB) Viewed 1615 times
1: It Displays the conversant text. For whatever reason it adds those sequence delays (sequence fields are empty in the dialogue inspector, in all of them)
2: Response Menu Dialogue is never shown
Again, not happening always and pressing keyboard key works.
Can it be related to the typewriter effect?
DialogueBug.jpg (15.97 KiB) Viewed 1614 times
Also, what is "Button Name" there in the Continue Button inspector, should the Rewired action name?
Since you're using Rewired, "Button Name" is the name of an action in your Rewired Input Manager.
This message:
Delay(1E+24)
means the subtitle will delay for 1E+24 seconds, which is basically forever. However, clicking the continue button (by pressing Space or the "Continue" action defined in your Rewired Input Manager) will bypass the sequence and continue to the next step in the conversation.
When a dialogue entry's Sequence field is blank, it will use the Dialogue Manager GameObject's Display Settings > Camera & Cutscene Settings > Default Sequence. (If this entry is assigned to a Player actor and the Default Player Sequence is non-blank, it will use the Default Player Sequence instead.)