A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy injectors to reality checkers. Each agent is a specialized expert with personality, processes, and proven deliverables.
Shell
fix(unity): seed the server position from the spawn point
Rudy Celekli33806e67223b
diff --git a/game-development/unity/unity-multiplayer-engineer.md b/game-development/unity/unity-multiplayer-engineer.mdindex fa9886cd..fa78dcfa 100644--- a/game-development/unity/unity-multiplayer-engineer.md+++ b/game-development/unity/unity-multiplayer-engineer.md@@ -115,6 +115,8 @@ public class PlayerController : NetworkBehaviourpublic override void OnNetworkSpawn(){+ // Seed the authoritative position from the spawn point, not Vector3.zero+ if (IsServer) _serverPosition.Value = transform.position;if (!IsOwner) return;_clientPredictedPosition = transform.position;}