Search Unity

Network Identity Disables Objects.

Discussion in 'Multiplayer' started by Alzan, May 8, 2017.

  1. Alzan

    Alzan

    Joined:
    Sep 2, 2012
    Posts:
    81
    Hey! I've read around and haven't found a solution to this issue.
    In short, any networked object that's local to the scene (part of the map) is disabled when connecting to the game server. All these objects have a network identity attached to their roots and should be enabled by the network manager after connecting, but aren't.
    Player objects that are spawned by the network manager work fine, it's just objects that are part of the scene itself.
    Does anyone know why these object might not be enabled?
    Thanks!
     
  2. Zullar

    Zullar

    Joined:
    May 21, 2013
    Posts:
    651
  3. unidad2pete

    unidad2pete

    Joined:
    Feb 17, 2017
    Posts:
    22
    NetworkServer.SpawnObjects()