Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How To Identify If GameObject Was Spawned Locally Or By Server.

Discussion in 'Multiplayer' started by Phedg1, Sep 9, 2017.

  1. Phedg1

    Phedg1

    Joined:
    Mar 3, 2015
    Posts:
    113
    Greetings. I am working on upgrading the network code for me game and getting an answer to this would be helpful. I have a work around currently working but I would like to know if there is currently any way to detect if a GameObject was created as part of the local scene or spawned locally (even if it has a NetworkIdentity) or if it was created/spawned/instantiated by the Server.

    Thanks.