Spectator camera not setup like current view target
Description: In multiplayer (with dedicated server) game, spectator camera not setup like current view target when player controller got to spectating state.
Steps for reproduce: I've prepared simple test "Third Person" project to illustrate this issue. Please download project by link below and run with "Run dedicated server" checkbox enabled, after that walk around on level, change camera view by mouse and press "1" on keyboard. You should see that spectator camera not setup as expected, but setup player controller camera.
Interesting method is "SwitchToSpectator" in character class.
Notes: I assume that this issue in SetPawn method, because this method called when pawn replicated from the server to client and after that setup current view target to current player controller (because this pawn will be NULL) in methods AutoManageActiveCameraTarget
Sample project link: project
asked Apr 07 '17 at 11:42 AM in Bug Reports
Follow this question
Once you sign in you will be able to subscribe for any updates here