Multiplayer for an indie Steam game: Mirror or Photon?
Mirror and Photon are the two names that come up first for multiplayer in Unity. Here's how they differ, the four questions that decide between them, and why Panic at the Pond, a multiplayer game we built for a client, supports both.

If you’re adding multiplayer to a Unity game, two names come up first: Mirror and Photon. They solve the same problem in different ways, and the right one depends less on features than on where your game will be sold and who will host the matches. We’ve worked with both in one project: Panic at the Pond, a multiplayer fishing game we built for a client in Unity 6, supports Mirror and Photon behind a single interface. Here’s what we learned.
The short answer
- Choose Mirror when the game is Steam first, players host their own matches, and you want a free, open-source library whose code you control.
- Choose Photon when the game also ships outside Steam, such as on mobile, and you want matchmaking, rooms and relay servers working from day one in exchange for a plan sized by concurrent players.
One thing to know before choosing Photon: PUN 2, the classic Photon package for Unity, is now in maintenance mode. Existing games keep running and it still gets fixes, but Photon says new projects should consider its newer products, Fusion or Quantum.
What each one is
Mirror is a free, open-source networking library for Unity, under the MIT licence. Server and client are one project, so a player can host a match or you can run dedicated servers. How data travels is swappable: Mirror uses KCP, a reliable form of UDP, by default, includes TCP and WebSocket options, and has community-made transports for Steam. It doesn’t come with matchmaking, so you bring your own.
Photon PUN 2 is a Unity package backed by Photon’s cloud. Matchmaking gets players into rooms, and messages travel through Photon’s servers, so players never connect to each other directly. It exports to basically every platform Unity supports. There is a no-cost package to start with, and paid plans are sized by concurrent users.
Four questions that decide it
1. Where will the game be sold? On Steam, a lot comes with the platform: friends, invites, lobbies and Valve’s relay network, Steam Datagram Relay, which carries game traffic over Valve’s own network without revealing players’ IP addresses. With a community Steam transport, a Mirror game can send its traffic over Steam’s network. Players on other stores or on mobile can’t use it, and that’s where a platform-neutral cloud like Photon’s helps.
2. Who hosts the match? Player-hosted matches need no servers of your own, but if the host quits, the match is in danger. Photon detects when its lead player, the Master Client, disconnects and assigns another one, though keeping the match state intact through the switch is still the developer’s job. Mirror has no built-in host migration, so it has to be built. Panic at the Pond includes host migration so a session can survive the original host leaving.
3. How fast is the game? Fishing, card and co-op games forgive a little delay. Fast competitive games don’t, and they push you towards servers you control. Photon’s own documentation says the Master Client approach doesn’t suit fast-paced games and recommends server-side code for those. In Panic at the Pond, the fishing mechanics were tuned so bites, casts and catches still feel responsive with real-world delay and lost packets.
4. What will it cost as you grow? Mirror has no licence fee: you pay only for what you choose to host. Photon’s cost follows the number of people playing at once, which is easy to predict and grows with success. Check the current plans against your expected player numbers before you commit.
Side by side
| Mirror | Photon PUN 2 | |
|---|---|---|
| Cost | Free and open source (MIT) | No-cost package to start, plans sized by concurrent users |
| Servers | Player-hosted, or your own dedicated servers | Photon’s cloud carries the traffic |
| Matchmaking and rooms | Bring your own, such as Steam lobbies | Built in |
| When the host leaves | You build host migration | A new Master Client is assigned; you protect the match state |
| Good to know | Transports are swappable, including community ones for Steam | In maintenance mode; Photon points new projects to Fusion or Quantum |
Why Panic at the Pond supports both
Panic at the Pond is played over LAN, over the internet and through Steam, on desktop and mobile. To stay flexible across all of those, the networking layer implements both Mirror and Photon. The gameplay code doesn’t know which one is running: it talks to an abstraction layer, and each library sits behind it.
That flexibility has a price. Every networked feature is designed against two systems and tested twice. For most indie games, the better decision is to pick one and move on. Build for both only when your platforms really demand it.
Don’t forget the backend
A networking library moves a match between players. It doesn’t store accounts, currency or inventories. Panic at the Pond uses PlayFab for player accounts, cloud saves and its virtual economy, with purchases checked on the server so they can’t be faked from a modified game, and Steam for achievements and statistics. Plan this part alongside the networking, not after it.
Our advice
For a Steam-only co-op or party game, start with Mirror and a Steam transport. If you need players on several platforms in the same rooms, or want matchmaking without building it, look at Photon, and at Fusion if the project is new. Whichever you choose, keep gameplay code separate from the networking library, and test on bad connections from the first playable build.
If you’re planning a multiplayer game and want a second opinion, tell us about it and we’ll recommend an approach with reasons.
Common questions
Which Photon product should I use for a new game?
Fusion or Quantum, not PUN 2. Photon says PUN 2 is in maintenance mode and new projects should consider Fusion or Quantum. Fusion keeps game objects in sync between players and runs in three setups: shared authority, a player acting as host, or dedicated servers. Quantum sends only player inputs and runs the same simulation on every device, with prediction and rollback. (Photon)
Photon Fusion or Quantum?
Fusion suits most co-op, party and casual multiplayer games; Photon recommends its shared-authority mode for mobile and web, but not for highly competitive games. Quantum is built for games where every frame counts and cheating must be hard, such as competitive action and esports titles, and it’s for Unity only.
Which multiplayer SDK should a small indie game use?
If the game is on Steam only and players host their own matches, Mirror with a Steam transport is free and enough. If players on several platforms, or on mobile, need to meet in the same rooms with matchmaking from day one, use Photon Fusion. Either way, keep the networking behind your own interface so you can switch later.
How do you add Steam multiplayer to a Unity game?
Use Steamworks for friends, lobbies and invites, and a networking library that can send its traffic over Steam’s network. Mirror has community-made Steam transports for this. Steam also gives you achievements and statistics, as Panic at the Pond uses.

