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

SyncVars on inherited behaviours

Discussion in 'Multiplayer' started by Nemahs, Jun 29, 2015.

  1. Nemahs

    Nemahs

    Joined:
    Feb 12, 2013
    Posts:
    1
    So I have a few SyncVars on a class named Selectable which inherits from NetworkBehaviour.
    However, my object has a component using the Unit script which inherits from Selectable. Only the SyncVars on Unit are sent across the network, none of the inherited SyncVars from Selectable are synced.

    Is this supposed to happen?