Camera rotation broken in PIE(SIE) mode after "eject" when mouse is not hidden
Hello. After updating to 4.11 version of engine when I lunch PIE(SIE) mode and for debug reason want to see on the scene something from different than game camera angle I click Eject but editor's viewport camera don't want to rotate while I am holding RightMouse.
I did some investigation and found in SceneViewport.cpp that some code in function:
preventing reaction on holding right mouse if mouse cursor set to visible.
Actually code execution cant get into this branch:
For clarify: in FirstPersonShooter projects this branch works well(because mouse typically hidden). But for strategical type games, as we developing - mouse is visible, so bShouldShowMouseCursor will be "true" and editor's camera will be broken.
How to reproduce:
1.Create new Puzzle project C++(maybe blueprint ver is enough), not FPS.
2.Begin Play in Editor(any variant).
4.Now Camera will react only to wasd+qe while holding rightmouse.
Relative question link(which not marked as bug report): https://answers.unrealengine.com/questions/398548/cant-look-around-with-camera-after-eject-from-play.html
I have been able to reproduce your issue, and have entered a bug report (UE-29313). Thank you for your report. I will provide updates on this issue as they become available.
Have a great day
answered Apr 11 '16 at 05:02 PM
Sean L ♦♦ STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here