I have many problems at my game

Options
I'm currently developing a game (Multiplayer Zombie FPS), but I have some problems.

1. Problem: Masterclient's owner is always Scene and ViewID is -999
The first player (Masterclient) owner is always Scene and the ViewID is -999, what confuses me, I already looked at the documentations and the "demo" projects code, but I don't find a solution for that.

2. Problem: Player is "falling" through the Map
So, the second or first player that is joining is: 1. Falling through the map (Teleporting back to the top) , cant move and look, is controlled by the first player (I already used photonView.IsMine at the controlls of the player and camera)

So, these are my problems, I'm currently trying somehow to fix it alone, but it always fails.
I will give you some screenshots and codes, how it looks.

(Better viewing using right click at a picture and choosing "Open picture in new tab")

PlayerController.cs - https://pastebin.com/5JxDfqLt
PlayerCameraController.cs - https://pastebin.com/Un3BYwwh
MapGameManager.cs - https://pastebin.com/RzRFWS4X
GameInformation.cs - https://pastebin.com/79bMJhdP

tdWH9Se.png

Comments