Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

photon OnloadedLevel/start called twice on client

$
0
0
OnloadedLevel and start called twice on the client resulting in the creation of an extra player (with no one controlling it) only in the master client
i am instantiating my player on the start of my "WaitRoomManager" like so:

PhotonNetwork.Instantiate(this.playerPrefab.name, new Vector3(0f,0f,0f), Quaternion.identity, 0);

in the master it is only called once but on the client it is called twice.

screenshot:
https://drive.google.com/open?id=0BxjwQw0-H0sldnZ2SzNCdFRIRXc

Viewing all articles
Browse latest Browse all 15755

Trending Articles