How can I hide the mouse cursor with a release build?

0

Please help. For some reason when we run the game from the launcher, or create a release build and run that, the mouse still shows up. We are making use of the flowgraph hide mouse node to accomplish this in the editor. For further details, the mouse shows up as a relatively large green mouse cursor and then full screen causes this to revert to the default windows mouse cursor. I haven't seen anyone else posting about this problem so hopefully I'm just missing something simple. Thanks in advance for any advice.

질문됨 7년 전230회 조회
4개 답변
0
수락된 답변

Hi @REDACTEDUSER

Thanks for reporting this issue. We have seen behavior like this in the past. We are in the process of implementing a new input system which should resolve this.

The workaround in the short term is to hide the mouse multiple times. The underlying implementation on Windows uses a counter so if it has been told to show twice then it needs to be told to hide twice etc.

Rob

답변함 7년 전
0

If that does not work an alternative workaround is to remove the call "ShowCursor(TRUE)" in GameStartup::Run(). This appears to be what gets the counter out of sync.

답변함 7년 전
0

Thanks for the help. I removed ShowCursor(True) and that did the trick.

답변함 7년 전
0

Awesome! Glad the team was able to get you what you needed.

답변함 7년 전

이 게시물은 마감됨: 새 답변, 댓글 및 투표 추가가 비활성화되었습니다.

관련 콘텐츠