Is DOTS Netcode and Netcode for GameObjects the same thing?

I’m starting to dip my toes into multiplayer for Unity, however am confused on which packages to use.

I’ve found references to use netcode from unity for multiplayer, and this is what’s on the DOTS thread:
https://docs.unity3d.com/Packages/com.unity.netcode@0.5/manual/index.html

However, on the main unity site, it says to use netcode for gameobjects:
https://docs-multiplayer.unity3d.com/releases/multiplayer/1.0.0

Are they the same thing? or different? Can “netcode for gameobjects” also be integrated with ECS/DOTS?

No, not the same thing. Netcode for GameObjects is based on an acquired code base, formerly called MLAPI created by a talented individual who then was hired by Unity to get involved in the further developments.
DOTS Netcode on the other hand developed by people who are closer to Unity DOTS and will serve all ECS/DOTS-related networking needs eventually.
Netcode for Game Objects and DOTS Netcode

And no, the former cannot be integrated into ECS properly. I mean you can always maintain a full set of game objects, but then you lose all the advantages of ECS and you double (maybe a bit of an exaggeration) your code and logic.

2 Likes