See: Camera Rotation stops when mouse hits wall of Game Window - Programming & Scripting - Unreal Engine Forums
I’m not sure if this is intended behavior but APlayerController | Unreal Engine Documentation does not say that we should not set this variable in the BeginPlay() so therefore I assume that it is a bug.
Removing the
bShowMouseCursor = true;
and putting it somewhere else (like toggling it with a key) fixes the problem. But putting it in BeginPlay() bugs it again.
Hello,
Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here
https://jira.it.epicgames.net/browse/UE-53835
You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.
Cheers!