PUN Basics Tutorial: can't find out why my players are instantiated several times
Options
Hello,
I tried to follow the tutorial: https://doc.photonengine.com/en-us/pun/v2/demos-and-tutorials/pun-basics-tutorial/intro
However, when I tried it with two players (using two windows) I get the following issue:
It seems from the console that the player's prefabs are instantiated each time a room is created.
Furthermore, when I debug, it seems that this lines are never called:
I tried to follow the tutorial: https://doc.photonengine.com/en-us/pun/v2/demos-and-tutorials/pun-basics-tutorial/intro
However, when I tried it with two players (using two windows) I get the following issue:
It seems from the console that the player's prefabs are instantiated each time a room is created.
Furthermore, when I debug, it seems that this lines are never called:
if (photonView.IsMine) { LocalPlayerInstance = gameObject; }But I checked with the official demo, these lines are well placed, in the Awake() function of the PlayerManager.
0