Player sometimes spawning in the wrong position.

            runner.Spawn(playerPrefab, new Vector3(spawnPosition.transform.position.x, spawnPosition.transform.position.y, spawnPosition.transform.position.z), Quaternion.identity, runner.LocalPlayer);

Answers

  • bro you have to give more context and stuff. anyways you can use IPunObservable to sync it manually or I think Photon has built-in scripts that do that for you