XR 2022.10 - 2023.08

Unity Multiplayer Networking System

Real-time multiplayer networking system for Unity with client-side prediction and server reconciliation

Full-stack Engineer

Unity C# Netcode Photon Mirror

Overview

Built a custom multiplayer networking solution for a VR social application, supporting up to 50 concurrent users in a single room with low-latency interactions.

Technical Highlights

  • Network Architecture: Authoritative server model with client-side prediction
  • State Synchronization: Delta compression for efficient bandwidth usage
  • Interpolation: Smooth movement with lag compensation
  • Voice Chat: Integrated spatial audio with Vivox

Key Features

  • Room-based matchmaking system
  • Avatar customization sync
  • Object interaction system with ownership transfer
  • Spatial voice chat with distance attenuation

Performance

  • Average network latency: < 50ms
  • Update rate: 20 Hz with interpolation
  • Bandwidth: ~5KB/s per user