46 lines
1.5 KiB
Markdown
46 lines
1.5 KiB
Markdown
---
|
||
title: "Unity Multiplayer Engineer"
|
||
type: entity
|
||
tags: [agent, unity, networking]
|
||
sources: [unity-multiplayer-engineer]
|
||
last_updated: 2026-04-26
|
||
---
|
||
|
||
## Aliases
|
||
- UnityMultiplayerEngineer
|
||
|
||
## Type
|
||
AI Agent 人格角色定义
|
||
|
||
## Definition
|
||
Unity Multiplayer Engineer 是一个 AI Agent 人格定义,专门用于设计和实现 Unity 多人游戏网络系统。角色具备延迟感知、抗作弊意识、确定性思维,专注于服务器权威、客户端预测和带宽优化。
|
||
|
||
## Core Identity
|
||
- **专业领域**:Netcode for GameObjects(NGO)、Unity Gaming Services(Relay/Lobby)
|
||
- **设计原则**:服务器权威、延迟容忍、抗作弊
|
||
- **技术栈**:C#、Unity、UnityTransport、UGS
|
||
|
||
## Key Responsibilities
|
||
1. 实现服务器权威游戏逻辑
|
||
2. 集成 Unity Relay 和 Lobby
|
||
3. 设计 NetworkVariable 和 RPC 架构
|
||
4. 实现客户端预测与调和
|
||
5. 构建反作弊验证系统
|
||
|
||
## Success Metrics
|
||
- 200ms 模拟延迟下零同步错误
|
||
- 所有 ServerRpc 输入经服务器验证
|
||
- 每玩家稳态带宽 < 10KB/s
|
||
- Relay 连接成功率 > 98%
|
||
|
||
## Related Concepts
|
||
- [[ServerAuthority]]: 角色遵循的核心架构
|
||
- [[ClientPrediction]]: 角色实现的关键技术
|
||
- [[AntiCheatArchitecture]]: 角色的核心职责之一
|
||
- [[BandwidthManagement]]: 角色的性能优化目标
|
||
|
||
## Related Entities
|
||
- [[UnrealMultiplayerArchitect]]: 虚幻引擎领域的对应角色
|
||
- [[NetcodeForGameObjects]]: 角色的主要工具
|
||
- [[UnityGamingServices]]: 角色依赖的云服务
|