Hello. I have this problem with my game when I access a widget through a Set Input Mode UI Only -node, where as soon as the widget is being accessed the game shows the Windows cursor that I can then move. However, if I click with mouse during this anywhere, all the controls gets disabled, mouse disappears and I can no longer do anything, except force quit the game. The game doesn’t crash or freeze, but the controls just stop working. I am using the UE 5.4, but the same problem has been at least since the 5.3 version.
The main problem that I have is that I do not want the cursor to pop up in the first place. I just want the widget to be controlled without any cursor.
For two days I’ve been trying literally everything that I could find in the Unreal Engine forums, YouTube etc. I have probably tried 20 different things.
Using the Show Mouse Cursor -node, with the tab unchecked I have tried, it doesn’t do anything. I have tried changing mouse settings from the Project Settings. I have disabled cursor from the widget and all of it’s submenus. Nothing works, and based on my search this seems to be a really common problem. I have troubleshoot the problem so that I know for a fact that it’s either the Set Input Mode UI Only or the widget itself, or both that is causing this problem.
Here is a gif of what is currently happening:
And here is the Blueprint that takes control of the widget:
And here is the Event Graph of the widget:
And in the widget itself everything is set up like this:
Again. I want to access my widget by having able to control it with my keyboard, and I want to disable the cursor. On top of that, I do not want the keybinds to stop working when I click somewhere with my mouse. When I exit the widget in-game, everything goes back to normal and the cursor disappears (as shown in the GIF).
Thank you already in advance!