Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Unity Multiplayer Network.isServer always false

Discussion in 'Connected Games' started by Lelon, Jul 20, 2015.

  1. Lelon

    Lelon

    Joined:
    May 24, 2015
    Posts:
    76
    I can't get Network.isServer to work, I tried to use it in a player object as well as other objects, but it always return false even tho im the server. I'm using lan host.

    Edit: Problem fixed, I had to use isServer without Network.
     
    Last edited: Jul 20, 2015
  2. ikriz

    ikriz

    Joined:
    Dec 3, 2009
    Posts:
    92
    There is also the NetworkServer.active and NetworkClient.active these actually do work, the Network.isServer should be marked obsolete in my opinion.

     
    trappist-1 likes this.
unityunity