How to make 2D camera follow for 2 players with Photon?

Hello. I made multiplayer with Photon Asset. I’m making “Counter strike 2D”. I have only 2 players in game. I want to make the camera follow each player, but there were many errors.

  1. “Camera spin” (my character rotates 180 degrees, the camera is not fixed. )
  2. “camera bugs”
    I can’t get two cameras to follow two players players. It turns out when one player on the server all is good and when the second one enters the game, something terrible begins. The camera of the first player follows the second player, and the second camera follows first player. I don’t understand what to do and how to do it. If anyone can help, please.