Netcode for GameObjects vs Photon Server
Netcode for GameObjects
docs.unity.comPhoton Server
photonengine.comSide by side
| Figure | Netcode for GameObjects | Photon Server |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| Windows | Yes | Yes |
| macOS | Yes | — |
| Linux | Yes | — |
| iOS | Yes | — |
| Android | Yes | — |
| API | — | Yes |
| Self-hosted | — | Yes |
| Plans published | 1 | 1 |
| Spec score · Game Networking Middleware | 8.1 (#11) | 7.1 (#25) |
| Company | Unity’s SEC filing states that Unity was founded in Denmark in 2004 and has principal corporate offices in San Francisco, California. | Exit Games was founded in 2003 and is headquartered in Hamburg, Germany. |
| Headquarters | San Francisco, California, United States | Hamburg, Germany |
| Purpose | Netcode for GameObjects is a high-level networking library for synchronizing GameObjects and world data across multiplayer sessions. | Photon Server is an on-premises real-time socket server and cross-platform multiplayer game development framework for connecting players and exchanging data in shared game sessions. |
Plans
In their own words
Netcode for GameObjects
Netcode for GameObjects is Unity’s high-level networking library for synchronizing GameObjects and world data during multiplayer sessions. Unity describes it as suited to games with smaller player counts and less complex game logic, including adding multiplayer to an existing GameObject-based single-player game. Networking can use client- or server-authoritative models. NetworkBehaviour components use NetworkVariables to synchronize state and RPCs to send messages over the network. Integrated scene management is enabled by default and synchronizes scenes across connected clients. Unity Transport is the default transport, while Unity Relay can provide Relay networking for GameObject and MonoBehaviour workflows. Unity Multiplayer Services sessions are compatible with the package, which handles gameplay state replication after players connect. The package is free, but installation requires an active Unity account with a valid license, a supported Unity version, and an existing project. Supported platforms listed include Windows, macOS, Linux, iOS, Android, XR platforms on those systems, most closed platforms, and WebGL with specified package versions. There is no matchmaking functionality; developers must use third-party services for matchmaking. A full client-side prediction and reconciliation system must also be built by the developer.
Photon Server
Photon Server has no write-up on Specifiction yet; its figures are above.