Does each game object with a photon view has an unique name?

In the Marco Polo and the Viking demo, each character (with an attached Photon View), has an unique gameobject name.

However, say I have two game-objects which are in the scene created via the editor. Each has its own Photon View and their own ID. Must their names be different?

Comments

  • Their gameobject names can be identical and it makes no difference. As long as they have unique photon IDs all should be fine.
  • Scruffles is right: Networking-wise we only use the IDs and they must be unique. The Editor scripts assign IDs for the scene-objects you should call PhotonNetworking.Instantiate() to get GOs with assigned ViewIds.
    You could rename the GOs at will.
Sign In or Register to comment.