← Files Unity EssentialsARCHIVED FILE

skills/unity-feature-implementation/frameworks/networking/mirror.md

560 Bytes · Oct 2, 2026 · 00:29 UTC

↓ Download file

# Mirror Framework Guide

Use only when first-party project code actively uses Mirror.

## Inspect

- NetworkManager
- NetworkIdentity
- Commands
- ClientRpc and TargetRpc
- SyncVars and hooks
- authority
- spawning
- transport
- scene management

## Rules

- Keep server-authoritative outcomes on the server.
- Validate Commands.
- Use SyncVars for durable replicated state.
- Use RPCs for transient effects.
- Avoid per-frame network messages.
- Handle authority changes and disconnects.
- Register spawnable prefabs.
- Test host and remote client behavior.

SHA-256: a2cd0ece9a845d9f7230e1ffb2d8df54710b5ae66c9e364de7d8a9e281bfa26f