I moved to CommonUI, and the cursor is Always hidden since
First I’m using Keyboard and Mouse
MyPlayerController is showing the Cursor it’s fine, and it used to work before
The problem is when I apply UIInputConfig
it hide the cursor
Here’s my FUIInputConfig
FUIInputConfig(ECommonInputMode::All, GameMouseCaptureMode, bHideCursorDuringViewportCapture);
bHideCursorDuringViewportCapture is false incase you are wondering
the code that hide the cursor inside void UCommonUIActionRouterBase::ApplyUIInputConfig(const FUIInputConfig& NewConfig, bool bForceRefresh)
switch (CaptureMode)
{
case EMouseCaptureMode::CapturePermanently:
case EMouseCaptureMode::CapturePermanently_IncludingInitialMouseDown:
{
GameViewportClient->SetMouseLockMode(EMouseLockMode::LockOnCapture);
PC->SetShowMouseCursor(ShouldAlwaysShowCursor());
and here’s the function
bAlwaysShowCursor is a CVar
I don’t understand why it happens or how it should be use so can someone explain how to set it up so the cursor is always showing