unity-multiplayer-mobile-webgl
Installation
SKILL.md
Unity Multiplayer for Mobile & WebGL2
This skill guides you through building real-time multiplayer Unity games that ship to both mobile (iOS/Android) and WebGL2 browsers. The two primary server frameworks covered are Colyseus (automatic state sync, room-based) and Nakama (full game backend with auth, storage, matchmaking).
Decision tree — start here
1. Choose your server framework
Pick Colyseus when:
- You need automatic state synchronization (schema-based binary deltas)
- Your game is primarily room-based (lobbies, matches, sessions)
- You want the fastest path to a working prototype
- You'll handle auth/storage/leaderboards yourself or don't need them
Pick Nakama when:
- You need built-in authentication (device, email, social, Steam)
- You need persistent storage, leaderboards, tournaments, friends, groups, chat
- You want a production-grade backend from day one
- You're comfortable with manual state management via opcodes