Problem with multiplayer player controller, event is overwritten

So I am trying to setup cameras for a multiplayer game. Each player should have a separate camera controlled by the mouse. It is not attached to any pawns.

My current implementation is like this.
In game mode I have an onPostLogin event which calls a camera setup event in player controller

In Player controller I spawn a new camera, rotate it move it where needed, etc…

And it does not work properly. Here is what happens:

  1. I run dedicated server. Camera Setup is set to multicast reliable - two windows open, the camera goes where it should be and half a second later goes back to where it would be if I didnt set it up
  2. I run dedicated server. Camera setup is is run on server - same thing happens
  3. I run dedicated server. Camera setup is run on client - nothing happens
  4. If I do not run dedicated server. Same things happen but only on the client game.

How can I solve this? I’m stumped.

maybe try turning off AutoManageActiveCameraTarget in the playercontroller.

Wow, it was so simple :slight_smile: thanks.