Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Resolved Do clients always download network variables?

Discussion in 'Netcode for GameObjects' started by Kentecio0, Dec 4, 2022.

  1. Kentecio0


    Jun 9, 2022
    Do clients always download network variables or only when trying to read it?
    Is there a way to stop specific clients from receiving some variables?

    Im new to networking and cant find any info about this.
  2. CodeSmile


    Apr 10, 2014
    NetworkVariables are synchronized to all clients whenever the value changes. You cannot opt out of this behaviour.

    For any asynchroneous data exchange, eg just between client X and the server, use RPC messages.
    Kentecio0 likes this.