🐾PurrNet Docs

Introduction to PurrNet

PurrNet is a free, MIT-licensed Unity networking library designed to feel natural — no baking, no special spawn APIs, no costs.

What makes PurrNet different?

Most Unity networking libraries require special spawn calls, pre-baked network IDs, or lock key features behind a premium tier. PurrNet eliminates all of that. You call Instantiate() and Destroy() exactly as you always have — PurrNet intercepts and syncs them automatically.

Core philosophy

  • Works like Unity. If you know Unity, you already know most of PurrNet.
  • Authority is configurable, not hardcoded. NetworkRules lets you switch between server-auth and client-auth without changing a single line of code.
  • Per-component ownership. A single GameObject can have multiple NetworkIdentities, each owned by a different player.
  • 100% free, forever. MIT license, no Pro tier, commercial use allowed.

Installation (quick)

In Unity: Window → Package Manager → + → Add package from git URL

Package Manager URL
https://github.com/PurrNet/PurrNet.git?path=/Assets/PurrNet#release

Git required

Make sure Git is installed on your system before using the Package Manager URL method. After installing Git, restart Unity and Unity Hub.

The network loop in 30 seconds

When a client calls a ServerRpc, the packet travels to the server, which executes the method. The server can then call an ObserversRpc to broadcast state changes back to all connected clients. SyncVars skip this step entirely — they broadcast automatically whenever .value is set.

What to learn next

  • NetworkIdentity — the foundation of every networked object
  • ServerRpc — send commands from a client to the server
  • SyncVar — automatically synchronize a variable across all clients
  • Ownership — control who can drive a networked object