finds.dev

Unity-Technologies/Megacity-2019

Megacity is a sample showcasing streaming a large scale environment. It also contains an action-packed, multiplayer shooter mode. It leverages the power of Netcode for Entities for an immersive, multiplayer experience that can support 64+ players simultaneously.

View on GitHub

★ 544C#NOASSERTIONupdated Jun 2024

// the take

Megacity is Unity's sample for large-scale ECS world streaming combined with a 64+ player multiplayer shooter built on Netcode for Entities and HDRP. It's for Unity/DOTS developers who want a working reference for server-authoritative netcode with prediction and lag compensation at scale, or for streaming a big open-world scene without a separate streaming solution.

The streaming and netcode are the real deal, not toy examples: server-authoritative gameplay with prediction, interpolation, and lag compensation wired into actual gameplay systems (ShootingSystem, PlayerVehicleJobs) rather than a theoretical sample. UGS integration is documented with real production config values (Matchmaker pool timeouts, relaxation rules, Game Server Hosting launch parameters) instead of hand-wavy 'see the docs' pointers. It's a legitimate reference for scaling netcode past the usual 4-8 player demo range.

It's explicitly deprecated in its own README with no further maintenance, and points you to megacity-metro instead unless you specifically need the HDRP/large-streaming combo this one has. Onboarding cost is brutal even by Unity standards: documented first-run estimates alone add up to 90+ minutes (clone, import, subscene build, server world creation) before you've pressed play once. A good chunk of the intended experience (Game Server Hosting, Matchmaker, Vivox) requires paid UGS services with a credit card on file, so the free local-only path is a lesser version of what's being shown off. No PRs, issues, or any bug fixes are accepted upstream, so whatever state it's in now is permanent.

We read the README, the directory tree and a key source file in November 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
544
Forks
99
Language
C#
License
NOASSERTION
Last commit
13 Jun 2024

// nearby

If Megacity-2019 isn't quite it.

All repos →