Fish-Networking (FishNet) icon

Fish-Networking (FishNet)

Standard softwareFOSS · FishNet Open License

Open-source high-bandwidth C# multiplayer netcode for Unity

Free (Open Source) · FirstGearGames · Standard software workflow; Steam AI disclosure does not apply.

AI
Standard
IP
Commercial-Safe IP
Engines
Unity
Platforms
Windows · macOS · Linux
Version
4.5
Technical Summary

Fish-Networking (FishNet) is an open-source, high-bandwidth C# multiplayer netcode framework for Unity supporting Windows, macOS, Linux, mobile, and consoles. Free for commercial releases under the FishNet Open License with zero CCU fees, it delivers tick-based client-side prediction, nested network prefabs, additive scene stacking, and drop-in Steamworks P2P co-op.

Technical Overview

Architecture and Production Workflow

Developed by FirstGearGames as a modern performance-first alternative to Mirror and Unity Netcode for GameObjects (NGO), FishNet 4.5 decouples network simulation from frame rendering via an explicit fixed-tick TimeManager. Its Roslyn/Mono.Cecil compile-time weaver generates allocation-free bit-packed serializers for SyncVar<T>, SyncList<T>, SyncDictionary<K,V>, ServerRpc, and ObserversRpc methods, packing multiple component updates and transform deltas so densely that per-client bandwidth frequently drops 30% to 50% below legacy Unity networking stacks.

Out of the box, FishNet ships native tick-based client-side prediction (PredictionManager) using typed [Replicate] input structs and [Reconcile] state snapshots that drive both custom kinematic character controllers and standard Unity PhysX rigidbodies. Unlike older netcode packages that struggle with complex hierarchies, FishNet supports nested NetworkObject prefabs, runtime child spawning, and SceneManager additive physics scene stacking, allowing one headless server process to simulate dozens of isolated dungeon rooms simultaneously. Swappable transports include Tugboat (LiteNetLib UDP), Bayou (WebSockets for WebGL), FishySteamworks (Valve SDR relay), and FishyEOS.

Pricing, Licensing, and Commercial Rights

FishNet Core is free and open source under the FishNet Open License, granting full commercial distribution rights on Steam, consoles, and mobile with zero CCU caps, zero runtime fees, and zero revenue royalties. FirstGearGames offers an optional paid FishNet Pro edition (via GitHub Sponsors or the Unity Asset Store, covering teams of up to 20 seats) that adds sub-tick hitbox lag compensation, distance-based network traffic LODs, and automated server code stripping.

Strengths and Tradeoffs in Studio Pipelines

  • Zero-Cost Steam Co-op Stack: Pairing FishNet Core with FishySteamworks routes encrypted P2P traffic over Valve's Steam Datagram Relay (SDR) network, letting viral 4-player co-op hits scale to 100,000+ concurrent players with $0 in cloud relay bills.
  • Production Scene Architecture: Native nested prefabs, observer spatial hashing, and multi-scene physics isolation solve architectural blockers common in NGO and Mirror.
  • Key Tradeoffs: Dedicated server games still require external fleet orchestration (such as Edgegap, PlayFlow, or Agones), hitbox rollback requires FishNet Pro, and strict [Replicate]/[Reconcile] struct boilerplate demands disciplined C# engineering.

AI Transparency & Steam Disclosure

Standard Software

Procedural math, physics, or manual authoring software.

Steamworks guidance: Standard software workflow; Steam AI disclosure does not apply.

Technical FAQ about Fish-Networking (FishNet)

How do studios ship zero-server-cost Steam co-op games with FishNet?
Attach the open-source FishySteamworks transport alongside Facepunch.Steamworks or Steamworks.NET, then start FishNet in Client-Host mode. Valve's Steam Datagram Relay (SDR) handles NAT traversal, IP masking, and global packet routing completely free for any game published on Steam, eliminating monthly CCU charges.
What features require upgrading from FishNet Core to FishNet Pro?
FishNet Core already includes client-side prediction, nested prefabs, observer culling, and scene stacking for free. Upgrading to FishNet Pro adds historical collider lag compensation for shooter hit registration, network tick LOD throttling for high-entity counts, enhanced NetworkAnimator smoothing, and automated client-build server code stripping.
How does FishNet compare to Unity Netcode for GameObjects (NGO)?
FishNet delivers built-in rigidbody/character client-side prediction, nested network prefabs, and lower per-packet bandwidth overhead out of the box, whereas stock NGO leans toward simpler authority models or pushes high-scale prediction developers toward Unity's separate DOTS Netcode for Entities stack.

More tools like Fish-Networking (FishNet)