unity-integrate-multiplayer-services
Integrate explicitly selected Unity multiplayer sessions, discovery, matchmaking and Relay with owned cancellation and reconnect lifecycles.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 4
- Forks
- 3
01 前言 Front Matter
- name
- unity-integrate-multiplayer-services
- engines
- [ "UNITY" ]
- description
- Integrate explicitly selected Unity multiplayer sessions, discovery, matchmaking and Relay with owned cancellation and reconnect lifecycles.
02 资源文件 2
- 参考文档agents/openai.yaml292 B
- 参考文档references/session-lifecycle.md3.1 KB
03 SKILL.md 正文
Unity Integrate Multiplayer Services
When to use
Implement session membership, player grouping, matchmaking or selected connection services. Gameplay replication and NGO authority remain owned by unity-integrate-netcode; session ownership does not confer gameplay authority.
Activation and inputs
Run commands/resolve-engine.sh and commands/resolve-skill.sh unity-integrate-multiplayer-services; require effective UNITY, compatibility and permitted scope. Inspect installed com.unity.services.multiplayer and any existing Lobby/Relay/Matchmaker integration before choosing an API. Record identity, service environment, topology, hosting/transport selection, join visibility, reconnect deadlines and permitted operations. Do not migrate packages or start a paid allocation implicitly.
Workflow
- Model create/search/join/match/reconnect/leave as owned operations. Bind every result and subscription to an account and attempt generation. Cancel matchmaking tickets when supported; reconcile and clean up a late successful allocation or join.
- Select Sessions APIs supported by the locked package. Keep service state, transport establishment and replicated-scene readiness distinct; a listed or joined session is not proof that gameplay is ready.
- Configure Relay, networking handlers and host/dedicated-server capacity only when explicitly selected. Preserve an existing individual-SDK project unless migration is in scope. Never substitute Netcode for Entities or enable a hosting product automatically.
- Implement reconnect within actual service retention limits. Preserve stable player identity; verify membership, transport recovery and authoritative snapshot before restoring controls. Session-owner election alone cannot recover a lost game simulation.
- Own event handlers, heartbeats where required, tickets and session handles. Leave/shutdown is idempotent; shutdown while joining must not leak a late connection. Bound retries and expose full/closed/kicked/expired outcomes.
Read sessions and networking for service boundaries and adverse scenarios.
Verification and output
Deliver a versioned session/transport/replication map, operation-state ownership and sanitized multi-client evidence. Exercise simultaneous joins, cancellation races, host loss, reconnect expiry, rejected authentication and scene changes during connect. Clearly separate local simulations, real SDK calls and deployed multiplayer results. Service environments, relay traffic and hosting spend need explicit authorization; missing prerequisites remain blocked/not-run. Keep observations under resolved .hephaera/.cache.
04 同仓库更多 Skills
verify-web3-game-lifecycle
Verify a game's selected Web3 asset, wallet, ownership and trading lifecycle with contract properties, canonical recovery, actual target evidence and separate release readiness.
verify-onchain-game-assets
Verify exact on-chain game collection ownership and quantities at canonical blocks, reconcile inventory events, and design honest match admission. Use for ERC721/ERC1155 inventory, reorg recovery, reservations, or transfer-during-match rules.
plan-web3-game-assets
Define an opt-in Ethereum, Base or Immutable game-asset lifecycle, including token identity, supply, rights, custody, game eligibility and chain-specific dependencies.
integrate-game-wallets
Integrate explicit player-wallet connection, scoped SIWE authentication, authority invalidation and reviewed target-specific handoff without application-held player keys.
integrate-game-asset-trading
Integrate explicitly selected game asset settlement with exact unsigned intents, scoped approvals, idempotent operations and canonical receipt reconciliation. Use for NFT listing, buying, cancellation, retries or marketplace integration.
build-evm-game-contracts
Author and verify host-owned EVM game collections and explicit mint, burn, craft or admin rules with pinned Solidity tooling. Use for contract source and deployment candidates; deployment and player signing require separate authorization.