First person spectator wont work when played with client

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

138674-view+player.png

.cpp

138675-serverviewplayer.png

.h

and then AXDPlayerController::ViewPrevPlayer() is being called in Widget function when I clicked switch to spectate button