unity-netcode-design

Validate Unity Netcode for GameObjects design rules for multiplayer code.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/Rayzerrek/dotfiles --skill unity-netcode-design-rayzerrek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-netcode-design
Source: https://github.com/Rayzerrek/dotfiles/tree/main/.pi/agent/skills/unity-skills/skills/netcode-design
Command: npx skills add https://github.com/Rayzerrek/dotfiles --skill unity-netcode-design-rayzerrek

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you avoid subtle Netcode for GameObjects mistakes by turning lifecycle, authority, and synchronization rules into clear design guidance for Unity multiplayer code.

Core Features & Use Cases

  • Lifecycle ordering for Awake, OnNetworkSpawn, Start, and despawn cleanup.
  • Ownership, authority, and permission rules for server, host, client, and distributed authority setups.
  • RPC targeting, NetworkVariable and NetworkList constraints, prefab spawning, scene syncing, and transport setup.
  • Use it when reviewing multiplayer scripts, wiring gameplay state replication, debugging spawn issues, or choosing the correct network flow for a feature.

Quick Start

Ask the skill to review your Unity multiplayer script or architecture and point out the correct Netcode for GameObjects pattern before you implement or ship it.

Frequently Asked Questions about unity-netcode-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix Unity Netcode lifecycle ordering for Awake and OnNetworkSpawn?

Unity Netcode lifecycle ordering requires Awake to initialize local state before OnNetworkSpawn handles network readiness. Validate callback ordering, despawn cleanup, and ownership rules to prevent multiplayer state desynchronization issues.

What is the correct way to use NetworkVariable and RPC targeting in Unity multiplayer?

NetworkVariable and RPC targeting in Unity multiplayer require strict permission checks and targeting rules. Server-authoritative and distributed-authority workflows dictate safe synchronization behavior, ensuring NetworkList constraints and prefab registration are validated correctly.

How to review Unity Netcode scripts for spawning and scene management pitfalls?

Review Unity Netcode scripts for spawning and scene management pitfalls by checking prefab registration, scene syncing, and transport setup. Enforce callback ordering and permission checks to identify safe synchronization behavior before shipping multiplayer code.

Does Unity Netcode support distributed authority workflows for multiplayer code?

Unity Netcode supports distributed authority workflows for multiplayer code alongside server-authoritative setups. It validates ownership, authority, and permission rules for server, host, and client configurations to ensure correct network flow design.

Why are my Unity Netcode RPC calls failing permission checks on the client?

Unity Netcode RPC calls fail permission checks when targeting rules and authority constraints are mismatched between server and client. Validate RPC targeting, ownership permissions, and safe synchronization behavior to resolve multiplayer logic errors.