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

Where can I find the documentation for the new networking stack?

Discussion in 'Multiplayer' started by sturatt, Aug 2, 2019.

  1. sturatt

    sturatt

    Joined:
    Jun 2, 2019
    Posts:
    1
    Is there any documentation for the new Unity Transport Layer and the upcoming NetCode projects yet? All I have been able to find are some blog posts.

    The current networking documentation is littered with warnings about UNet being deprecated, and blog posts say we should be switching over to the new networking stack, yet I can't seem to find any actual documentation about it.
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
  3. Enzi

    Enzi

    Joined:
    Jan 28, 2013
    Posts:
    954
    The Asteroids sample is the most advanced. Take a look at it. It's pure ECS though, which is a weird choice. You can get it to work with GameObjects, it just requires some changes in the NetCode code files. Mainly DefaultGhostSpawnSystem.