Open Netcode is a feature rich networking package for Unity DOTS.
State: Early Preview. I'm waiting for Unity DOTS 0.50 to release so I can get the package to an alpha stage. Don't use this for anything yet. MIT license will be added when it's ready.
- Clientside Prediction & Server Reconciliation
- Public and Private Snapshots
- Events
- Delta Compression
- Spatial Hashing
- Bit Compression
- Code Generation
- Tick Synchronization and Tick Dilation
- Unity 2020.3.24f1 (Probably works with later versions in the same tech branch)
- Use of the custom DOTS packages included in the project. Once Entities 0.50 is released they will no longer be necessary.
- Understanding what Unity DOTS is and how to write DOTS code.
- Lag Compensation
- Clientside replay system.
- A generic way to predict multiple components. It's only predicting EntityPosition at the moment.
- Custom logging.
- Implement RCON protocol.
- Unit tests. Look into making an integration test for the whole pipeline.
- Use the ProfilerRecorder API to display stats in the profiler.
- Snapshot Prediction as described in the Unity FPSSample Deep Dive video.
- LZM compression of snapshots.
- Wrapper around the Unity Physics Package to use it for physics simulation.
- Hybrid read-only way for "attaching" gameobjects to networked entities.
- Unity Relay Service