Info
- Multiplayer on top of PurrNet (package
dev.purrnet.purrnet, kept on the latest beta): start / join, server list, players, networked scenes and the patterns for networked props
- All code lives in
Packages/PolisCore/Networking (namespace Polis.Core.Networking, asmdef Polis.Core.Networking)
- PurrNet
NetworkManager is the core. Polis Core wraps it with a few services, each registered in AppCore.Services (see Managers & Services) and loaded by the app loader
- Prefabs are in the XR content kit,
Multiplayer/Networking: MasterNetworkManager, NetworkSceneManager, NetworkPlayerManager
- Each project has its own
MasterNetworkManager and NetworkSceneManager prefab variants with their own load items (MasterNetworkManagerLoader, NetworkSceneManagerLoader). The variants point at the project's NetworkPrefabs and GlobalNetScene. NetworkPlayerManager uses the kit prefab and load item
- Testing with several editors: Parrel Sync. Backend lobby and auth: Service Hub SDK
History
Mirror - until August 2025
- Unstable for us, scene IDs regenerated on saves and builds
- Scene IDs baked in scene post processing, editor and builds easily mismatch
- Older UNET based design, server cost grows a lot with player and object count
- High bandwidth
- See FishNet vs Mirror
FishNet - August 2025 to May 2026
- Better performance than Mirror, but still a lot of ID generating, prefab and scene IDs need baking
- One
NetworkObject per root, ownership shared by the whole object
- No generic, static or returnable (awaitable) RPCs
- RPCs only in
NetworkBehaviours
- Some features behind a paid version