When set ShowMouseCursor true,the AxisValue returned by MouseX will be adulterated with zeros

When set ShowMouseCursor true,the AxisValue returned by MouseX will be adulterated with zeros.

When the mouse cursor is hidden, it returns to normal.

It goes back to normal when it’s packaged.
I built a new project and it’s normal to.

I think there’s something wrong with my original project.But I’ve been testing in a new Level,and the GameMode is also using the default GameMode, put the test code in the level blueprint.

How do I fix it,help,any ideas.