Page 1 of 1

Mouse Cursor Disappearing

Posted: Sat Aug 10, 2024 6:58 pm
by Rafael
Hello there. I'm just trying to get kicked-off with the first tutorial video and am running into a snag where my mouse cursor keeps disappearing. I tried changing the input device from "joystick" to "mouse and disabling "Control Cursor State", but it didn't fix the issue.

-When I set the trigger to "on start" I can see the mouse until I click "goodbye".
-When I set the trigger to "on use", the mouse is visible until I click anywhere (clicking the box doesn't result in the expected dialogue.)
-When I hit escape and bring up the pause menu, the mouse is visible again, but as soon as I click "close menu" the mouse disappears.

Perhaps worth noting that I get "Missing EventSystem" error each time I play the scene.

Any ideas?

p.s. Dialogue System is the only asset I have installed in this project. (Unity version 2022.3.4f1)

Re: Mouse Cursor Disappearing

Posted: Sat Aug 10, 2024 9:05 pm
by Tony Li
Hi,

If you're using the Demo scene's DemoMenu script, it has a "Lock Cursor During Play" checkbox that hides the cursor.

Re: Mouse Cursor Disappearing

Posted: Sun Aug 11, 2024 12:39 pm
by Rafael
And I thought I'd looked everywhere! Thank you so much!

p.s. This asset is mind-bogglingly awesome.

Re: Mouse Cursor Disappearing

Posted: Sun Aug 11, 2024 12:42 pm
by Rafael
Oh--do I need to do something about the event system warning?

Re: Mouse Cursor Disappearing

Posted: Sun Aug 11, 2024 2:07 pm
by Tony Li
Ideally you'd add an EventSystem GameObject to your scene. To do this, select menu item GameObject > UI > EventSystem.

However, the warning just tells you that, since your scene is missing an EventSystem, the Dialogue System has your back and is creating a default one to use at runtime.