So I am creating spectator mode viewing other players view, and if i test it using listen server it works, but when the client play as spectator it wont go to the other player’s camera.
Here is the setup
.cpp
.h
and then AXDPlayerController::ViewPrevPlayer() is being called in Widget function when I clicked switch to spectate button