Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

What does it mean for a NetworkBehaviour's isClient and isServer flags set to TRUE?

Discussion in 'Multiplayer' started by asperatology, Sep 23, 2015.

  1. asperatology

    asperatology

    Joined:
    Mar 10, 2015
    Posts:
    981
    While I was looking in the editor, I noticed my game object (with NetworkBehaviour attached) has both the flags, isClient and isServer, all true.



    When this happens, what does it mean? Both the client and the server have authority over this game object simultaneously?
     
  2. TehGM

    TehGM

    Joined:
    Nov 15, 2013
    Posts:
    89
    I am not sure, but maybe it's a host?
     
  3. asperatology

    asperatology

    Joined:
    Mar 10, 2015
    Posts:
    981
    I am also not sure, but that does seem more like it.
     
  4. seanr

    seanr

    Unity Technologies

    Joined:
    Sep 22, 2014
    Posts:
    669
  5. asperatology

    asperatology

    Joined:
    Mar 10, 2015
    Posts:
    981
  6. LukasO

    LukasO

    Joined:
    May 23, 2013
    Posts:
    115
    Means you're a host who's playing as opposed to just a host.