Page 1 of 1

Starting conversation, dialog does not show or enable the mouse cursor

Posted: Fri Jul 01, 2022 2:08 pm
by mroshaw
Hello again!

I'm having a strange issue with my Dialogues. Everything seems to work great, and the first few characters I've made converse happily with my player. There seems to come a point when something goes weird, and I engage in a Dialogue conversation and the mouse cursor is not enabled. I seem to have no way to re-enable the cursor, no matter how often I end the dialog and start it again.

Any idea what might be stopping the conversation from making the mouse cursor active and available, when I enter into a dialogue with an NPC?

One other thing I've noticed is that with dialogue system enabled, when I start the game the cursor is visible, even if I turn it off in another script (Cursor.visible = false). It seems that dialogue system wants to take some sort of control over the mouse cursor, whether I like it or not! ;)

Many thanks again!

Re: Starting conversation, dialog does not show or enable the mouse cursor

Posted: Fri Jul 01, 2022 2:43 pm
by Tony Li
Hi,

Inspect your Dialogue Manager GameObject, and untick the Input Device Manager component's Control Cursor State checkbox. The Dialogue System will no longer touch mouse visibility unless you've specifically ticked a Dialogue System Trigger's Show Cursor During Conversation checkbox. If the cursor is still not behaving the way you want, check other scripts -- typically your character controller scripts.

Re: Starting conversation, dialog does not show or enable the mouse cursor

Posted: Wed Jul 06, 2022 9:07 am
by mroshaw
That's done it, thanks again Tony!

Re: Starting conversation, dialog does not show or enable the mouse cursor

Posted: Wed Jul 06, 2022 10:43 am
by Tony Li
Glad to help!