Photon Strikes!

Hey man I have a problem with weapon handling (owner & viewID). I have a weaponManager script that handles & initializes all weapons for my player. The problem is if another player joins the room, the weapons owner ID is the first client and i have no idea why!



Like you can see on the picture, the wrong owner controls the weapon but why??? I don't get it :/

Comments

  • Hi,

    By default, object owner is the player who created the object. Call PhotonNetwork.Instantiate() on 2nd client for 2nd player weapon.