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

[Help] Simple NetCode Client/Server Implementation

Discussion in 'NetCode for ECS' started by Biwwiee, Mar 4, 2020.

  1. Biwwiee

    Biwwiee

    Joined:
    Mar 1, 2020
    Posts:
    4
    Hi,

    I'm trying to follow this DOTS NetCode Intro
    with the latest Unity version and latest package previews. There were some minor differences due to interface changes but my server code seems to not pick up on the RPC call from the client to establish the connection for the client. Any idea what I'm missing?

    RPCs.cs https://pastebin.com/Cz0sSRem
    Game.cs https://pastebin.com/mTMVT1Se
    NetworkEventSystem.cs https://pastebin.com/JxE5Hrcj
     
  2. Biwwiee

    Biwwiee

    Joined:
    Mar 1, 2020
    Posts:
    4
    Nevermind, found a more recent tutorial that is the same thing: https://docs.unity3d.com/Packages/com.unity.netcode@0.0/manual/getting-started.html