How to Use NetCode with Prefabs in ECS

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 Use NetCode with Prefabs in ECS"

Full workflows and code to turn prefabs into NetCode ghosts

Click Here for DOTS Tutorial

This gitbook takes you through step-by-step full workflows and code to turn prefabs into NetCode ghosts. Once you've coded along and fully finished the How To Use NetCode with Prefabs tutorial, you will be able to turn prefabs into NetCode ghosts.

Click Here for DOTS Tutorial

High-Level steps to Use NetCode with Prefabs:

Number 01

Add a GhostAuthoring component on your prefab entity

Number 02

Update your spawn and destruction systems to run on the server

Number 03

Server-spawned prefabs appear on the client and movement is updated through Snapshots