Page 1 of 1

Mouse movement freezing continue button

Posted: Fri Apr 04, 2025 1:23 am
by alemos
Hi! I'm having a sort of bizarre issue that is only happening in one scene in our game.

In the opening scene, when the first dialogue triggers, any mouse movement makes the on-screen continue button UI darken as though it is clicked and held down when the cursor hasn't gone anywhere near it. This makes the button impossible to click and freezes the UI window, preventing any progress in the conversation.

If the mouse is not touched at all and the player presses Enter the conversation progresses no problem. I've not had this issue in any other scene and I can't for the life of my find any distinguishable difference in how the DialogueManager is set up in this scene versus any other.

Any insights would be much appreciated!

Re: Mouse movement freezing continue button

Posted: Fri Apr 04, 2025 7:20 am
by Tony Li
Hi,

Please play the scene in the Unity editor's play mode, with an inspector view on the Dialogue Manager GameObject's Input Device Manager component. When you move the mouse, does the Input Device dropdown change to Mouse?

If so, then it's detecting mouse movement and changing to mouse mode. This mode should do the opposite of what you describe, however. If you don't want to detect mouse movement, UNtick Detect Mouse Control. You may also want to tick Always Auto Focus.

If that doesn't help, it's probably some other script, not the Input Device Manager. Check the scripts in your scene.