How to Create a Socket Connection using NetCode in ECS AR

This will take you about 20 minutes in prep time if you don't have Unity set-up, and 30 minutes in coding and debug time.

Click Here for DOTS Tutorial

Stop struggling with the limited documentation. Follow this step-by-step tutorial, "How to Create a Socket Connection using NetCode in ECS AR"

Full workflows and code to create a server/client socket connection using NetCode

Click Here for DOTS Tutorial

This gitbook takes you through step-by-step full workflows and code to create a server/client socket connection using NetCode. Once you've coded along and fully finished the How To Create a Socket Connection using NetCode tutorial, you will be able to create a server/client socket connection using NetCode.

Click Here for DOTS Tutorial

High-Level steps to Create a Socket Connection using NetCode:

Number 01

Create two RPCs and two systems for the Client and the Server

Number 02

Use NetworkStreamInGame to begin sending game data

Number 03

Send an RPC from server to newly connected client