<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mindattic.com/wiki/docs/index.php?action=history&amp;feed=atom&amp;title=Unity.Multiplayer%2Frfc%2F0001-architecture</id>
	<title>Unity.Multiplayer/rfc/0001-architecture - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mindattic.com/wiki/docs/index.php?action=history&amp;feed=atom&amp;title=Unity.Multiplayer%2Frfc%2F0001-architecture"/>
	<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=Unity.Multiplayer/rfc/0001-architecture&amp;action=history"/>
	<updated>2026-12-05T22:34:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.3</generator>
	<entry>
		<id>https://mindattic.com/wiki/docs/index.php?title=Unity.Multiplayer/rfc/0001-architecture&amp;diff=943&amp;oldid=prev</id>
		<title>Docs Sync: md2wiki: sync from MindAttic.Docs</title>
		<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=Unity.Multiplayer/rfc/0001-architecture&amp;diff=943&amp;oldid=prev"/>
		<updated>2026-11-29T20:37:21Z</updated>

		<summary type="html">&lt;p&gt;md2wiki: sync from MindAttic.Docs&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= RFC 0001 — Architecture and build order =&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
Approved 2026-10-20. Ticket IDs below are the real workflow IDs; the chain is enforced by &amp;lt;code&amp;gt;requires&amp;lt;/code&amp;gt; links (&amp;lt;code&amp;gt;workflow ticket show &amp;amp;lt;ID&amp;gt;&amp;lt;/code&amp;gt;).&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Context ==&lt;br /&gt;
&lt;br /&gt;
Cursory is a co-op physics puzzle game. The server owns the game (CUR-LAW-1), and it runs as ASP.NET Blazor Server with SignalR and Aether.Physics2D. Players drag blocks together, and a block heavier than 1.5 mass units needs two cursors. It has 14 levels, votes, whistles and a circuit puzzle. Ryan wants that gameplay in &amp;lt;strong&amp;gt;Unity 6 (6000.4.3f1, the workspace&amp;#039;s version)&amp;lt;/strong&amp;gt; with full multiplayer in two forms:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;dedicated server&amp;lt;/strong&amp;gt; (hub-and-spoke): everyone joins a central headless server&lt;br /&gt;
* &amp;lt;strong&amp;gt;listen server:&amp;lt;/strong&amp;gt; one player hosts&lt;br /&gt;
&lt;br /&gt;
Players join by &amp;lt;strong&amp;gt;IP:port or a join code&amp;lt;/strong&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The main goal is a multiplayer layer that is &amp;lt;strong&amp;gt;reusable in any game with minimal effort&amp;lt;/strong&amp;gt;. That layer is a new repo, &amp;lt;strong&amp;gt;Unity.Multiplayer&amp;lt;/strong&amp;gt;, built around attribute-decorated RPCs, with full docs and a docs website. All work is filed as &amp;lt;strong&amp;gt;chained workflow tickets&amp;lt;/strong&amp;gt;, so it can only be built in the right order.&lt;br /&gt;
&lt;br /&gt;
What exploration found:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;MindAttic.Unity has no code.&amp;lt;/strong&amp;gt; Its design exists only as ticket MAU-T2, which sets the family conventions:&lt;br /&gt;
** a local &amp;lt;code&amp;gt;file:../../&amp;lt;/code&amp;gt; package&lt;br /&gt;
** an engine-free Core asmdef tested by plain &amp;lt;code&amp;gt;dotnet test&amp;lt;/code&amp;gt; with NUnit&lt;br /&gt;
** a thin Runtime asmdef&lt;br /&gt;
* &amp;lt;strong&amp;gt;Packaging precedent:&amp;lt;/strong&amp;gt; the Capture and Telemetry packages use the &amp;lt;code&amp;gt;unity/com.mindattic.&amp;amp;lt;x&amp;gt;/&amp;lt;/code&amp;gt; layout.&lt;br /&gt;
* &amp;lt;strong&amp;gt;No Unity project uses networking or CI.&amp;lt;/strong&amp;gt;&lt;br /&gt;
* &amp;lt;strong&amp;gt;No repo has a docs site.&amp;lt;/strong&amp;gt; README-STYLE.md makes the README the project page, so DocFX is new ground.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Workflow tooling:&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;workflow ticket link A requires B&amp;lt;/code&amp;gt; gives hard ordering, and &amp;lt;code&amp;gt;repos rollout tickets&amp;lt;/code&amp;gt; assigns a code to a new repo.&lt;br /&gt;
&lt;br /&gt;
== Decisions (confirmed by the owner) ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Netcode for GameObjects 2.x and Unity Transport,&amp;lt;/strong&amp;gt; hidden behind MindAttic&amp;#039;s own API. NGO is the only backend for now; nothing above the adapter references NGO.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Join codes: one &amp;lt;code&amp;gt;IJoinCodeService&amp;lt;/code&amp;gt; interface, two implementations:&amp;lt;/strong&amp;gt;&lt;br /&gt;
** Unity Relay: gets through NAT, so it is the default for listen servers&lt;br /&gt;
** a self-hosted rendezvous service that maps a code to IP:port, the default for dedicated servers&lt;br /&gt;
* &amp;lt;strong&amp;gt;Docs:&amp;lt;/strong&amp;gt; DocFX, published to GitHub Pages at &amp;lt;code&amp;gt;mindattic.github.io/Unity.Multiplayer&amp;lt;/code&amp;gt;. The README still follows README-STYLE.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Approving this plan approves every ticket below&amp;lt;/strong&amp;gt; (&amp;lt;code&amp;gt;orchestrator approve&amp;lt;/code&amp;gt;). The &amp;lt;code&amp;gt;requires&amp;lt;/code&amp;gt; links stop work from starting out of order.&lt;br /&gt;
&lt;br /&gt;
== Architecture ==&lt;br /&gt;
&lt;br /&gt;
=== Unity.Multiplayer (public, MIT) ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;md-code&amp;quot;&amp;gt;unity/com.mindattic.unity.multiplayer/      package.json (unity 6000.0; deps netcode.gameobjects 2.x,&lt;br /&gt;
                                            transport 2.x; services.multiplayer optional via versionDefines)&lt;br /&gt;
  Runtime/Core/   Unity.Multiplayer.Core.asmdef  (noEngineReferences, netstandard2.1)&lt;br /&gt;
                  SessionStateMachine, JoinCode format, NetConfig, ITickClock, attributes&lt;br /&gt;
                  ([ToServer]/[ToClients]/[ToOwner]/[ToClient]/[Synced]), approval payload,&lt;br /&gt;
                  protocol-hash contract, SeatRegistry + ConnectionAdmission (engine-free seat&lt;br /&gt;
                  rules), rendezvous wire protocol + client (RendezvousClient,&lt;br /&gt;
                  RendezvousJoinCodeService, ServerAdvertisement)&lt;br /&gt;
  Runtime/        Unity.Multiplayer.asmdef  (NGO adapter)&lt;br /&gt;
                  NetSession (StartHost/StartServer/JoinByAddress/JoinByCode/Leave), NetEntity&lt;br /&gt;
                  (non-generic NetworkBehaviour base), NetSender, transports (UDP &amp;amp;#124; WebSocket),&lt;br /&gt;
                  RelayJoinCodeService, ConnectionApproval&lt;br /&gt;
                  (version + protocol hash + player token), seats (reconnect → same seat and&lt;br /&gt;
                  player object, over Core&amp;#039;s SeatRegistry),&lt;br /&gt;
                  NetworkTickClock, server-driven scene flow, per-sender rate limiter,&lt;br /&gt;
                  headless bootstrap (-batchmode, targetFrameRate=tick), NetBootstrap component&lt;br /&gt;
  Runtime/Generators/  Unity.Multiplayer.Generators.dll  (RoslynAnalyzer label)&lt;br /&gt;
  Editor/         setup wizard (MindAttic ▸ Multiplayer ▸ Set Up Scene), prefab validator,&lt;br /&gt;
                  &amp;quot;Build Dedicated Server (Linux)&amp;quot; menu&lt;br /&gt;
  Tests/Runtime/  NetcodeIntegrationTest PlayMode suites (NGO in manifest &amp;quot;testables&amp;quot;)&lt;br /&gt;
  Samples~/       Minimal (host/join/code UI, one [ToServer], one [Synced], one [ToClients])&lt;br /&gt;
src/Generators/   IIncrementalGenerator, netstandard2.0, Microsoft.CodeAnalysis.CSharp 4.3.x, emits C# 9 only&lt;br /&gt;
server/Rendezvous/  ASP.NET Core .NET 10 minimal API + Dockerfile (register/heartbeat/resolve,&lt;br /&gt;
                  TTL, high-entropy codes, per-IP rate limit, registration secret)&lt;br /&gt;
tests/            Core.Tests (net10 NUnit, globs Runtime/Core), Generators.Tests, Rendezvous.Tests&lt;br /&gt;
docs/             DocFX: docfx.json, articles/ (guides), api/ (from XML docs); BIBLE.md, USER_STORIES.md&lt;br /&gt;
.github/workflows/  docs.yml (Pages), ci.yml (dotnet tests + GameCI PlayMode)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Attribute API: what a game writes ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;md-code lang-csharp&amp;quot;&amp;gt;public partial class CursorAvatar : NetEntity&lt;br /&gt;
{&lt;br /&gt;
    [ToServer(Delivery = Delivery.Unreliable, RateLimit = 30)]&lt;br /&gt;
    public partial void Move(Vector2 worldPos);                       // call site: Move(p)&lt;br /&gt;
    void OnMove(Vector2 worldPos, NetSender sender) { ... }          // runs on server&lt;br /&gt;
&lt;br /&gt;
    [ToClients] public partial void Whistle(Color c);&lt;br /&gt;
    void OnWhistle(Color c) { ... }                                  // runs on every client&lt;br /&gt;
&lt;br /&gt;
    [Synced(OnChanged = nameof(MassChanged))] float _mass;          // generator emits NetworkVariable + Mass property&lt;br /&gt;
}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;How it works:&amp;lt;/strong&amp;gt; these are C# 9 extended partial methods. The generator writes the sending body and the matching NGO &amp;lt;code&amp;gt;...Rpc&amp;lt;/code&amp;gt; stub, which applies ownership checks, rate limiting and the sender, then calls &amp;lt;code&amp;gt;On&amp;amp;lt;Name&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;strong&amp;gt;If generation fails,&amp;lt;/strong&amp;gt; the build stops with &amp;quot;partial method has no implementation&amp;quot; instead of failing silently.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Analyzer errors for:&amp;lt;/strong&amp;gt;&lt;br /&gt;
** generic &amp;lt;code&amp;gt;NetEntity&amp;lt;/code&amp;gt; subclasses&lt;br /&gt;
** parameter types that can&amp;#039;t be serialized&lt;br /&gt;
** direct writes to a &amp;lt;code&amp;gt;[Synced]&amp;lt;/code&amp;gt; backing field&lt;br /&gt;
** a missing &amp;lt;code&amp;gt;On&amp;amp;lt;Name&amp;gt;&amp;lt;/code&amp;gt; handler&lt;br /&gt;
* &amp;lt;strong&amp;gt;Protocol hash:&amp;lt;/strong&amp;gt; the generator emits one hash of every RPC and Synced signature. Connection approval rejects a mismatch with a clear reason.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Fallback if the spike shows ILPP problems:&amp;lt;/strong&amp;gt; hand-written stubs shaped exactly like the generator output. Not reflection.&lt;br /&gt;
&lt;br /&gt;
=== Hosting ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;The hosting provider is undecided (owner, 2026-10-20) and will be chosen later.&amp;lt;/strong&amp;gt; The design keeps it open: UM-T23 adds &amp;lt;code&amp;gt;IHostingProfile&amp;lt;/code&amp;gt; and a provider-neutral server package. That package is a self-contained Linux build with &amp;lt;code&amp;gt;server.json&amp;lt;/code&amp;gt; plus command-line overrides, declared ports, &amp;lt;code&amp;gt;Logs/&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Saves/&amp;lt;/code&amp;gt;, clean shutdown on SIGTERM and a health endpoint. Every host gets the same package, so choosing one later changes no game code.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;GenericVps:&amp;lt;/strong&amp;gt; the first profile built. It runs the Docker image plus the rendezvous container on a UDP-capable CPU VPS (Hetzner, Vultr, DigitalOcean and similar).&lt;br /&gt;
* &amp;lt;strong&amp;gt;RunPod:&amp;lt;/strong&amp;gt; pods appear to expose TCP/HTTP only, so this profile uses &amp;lt;code&amp;gt;UseWebSockets=true&amp;lt;/code&amp;gt; and registers its mapped &amp;lt;code&amp;gt;RUNPOD_TCP_PORT_*&amp;lt;/code&amp;gt; with the rendezvous service. UM-T18 verifies RunPod&amp;#039;s current UDP support first.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Later, possibly:&amp;lt;/strong&amp;gt; G-Portal (not a default; reachable only through its Private Server program for studios), Nitrado, Edgegap and GameLift. Each would plug in as a new profile.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;The owner&amp;#039;s home network allows no port forwarding (an HOA-controlled network).&amp;lt;/strong&amp;gt; That has three consequences:&lt;br /&gt;
&lt;br /&gt;
* A listen server hosted from home must use &amp;lt;strong&amp;gt;Relay&amp;lt;/strong&amp;gt; join codes.&lt;br /&gt;
* Join by IP from home works on the LAN only.&lt;br /&gt;
* Internet play by IP needs a dedicated server on a rented host.&lt;br /&gt;
&lt;br /&gt;
The self-hosted rendezvous service maps codes to addresses but cannot get through NAT, so it is for dedicated servers only. Development needs no port forwarding: localhost, LAN, Multiplayer Play Mode and Relay all work behind NAT.&lt;br /&gt;
&lt;br /&gt;
=== UnityCursory (public) ===&lt;br /&gt;
&lt;br /&gt;
Unity 6 2D top-down with URP 2D and an orthographic camera.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Server simulation:&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Runs on the server only.&lt;br /&gt;
* &amp;lt;code&amp;gt;Physics2D.simulationMode = Script&amp;lt;/code&amp;gt;, stepped at 1/30 s from &amp;lt;code&amp;gt;NetworkTickSystem.Tick&amp;lt;/code&amp;gt; (TickRate 30).&lt;br /&gt;
* Clients never simulate.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Mapping from Cursory&amp;lt;/strong&amp;gt; (constants from &amp;lt;code&amp;gt;Cursory.Core/Services/RoomState.cs:49-119&amp;lt;/code&amp;gt;):&lt;br /&gt;
&lt;br /&gt;
* Grab: &amp;lt;code&amp;gt;FixedMouseJoint&amp;lt;/code&amp;gt; becomes &amp;lt;code&amp;gt;TargetJoint2D&amp;lt;/code&amp;gt; (maxForce 60, frequency 5, damping 0.7, autoConfigureTarget off).&lt;br /&gt;
* Ground friction: the Aether friction joint becomes &amp;lt;code&amp;gt;FrictionJoint2D&amp;lt;/code&amp;gt; with no connected body (maxForce Mass×40, maxTorque ×1.2).&lt;br /&gt;
* Bodies: &amp;lt;code&amp;gt;rb.mass = Mass×5&amp;lt;/code&amp;gt;, gravity 0, linear damping 1.5, angular damping 2.0.&lt;br /&gt;
* Units: keep 100 px per metre.&lt;br /&gt;
&lt;br /&gt;
These values keep &amp;quot;mass &amp;gt; 1.5 needs two players&amp;quot; intact. Level masses stay clear of 1.5 and 3.0.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Syncing:&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Server-authoritative NetworkTransform plus NetworkRigidbody2D, syncing x, y and rotation z only.&lt;br /&gt;
* Half precision, interpolated.&lt;br /&gt;
* Hidden behind an &amp;lt;code&amp;gt;IBodySync&amp;lt;/code&amp;gt; interface, so a compact snapshot can replace it later.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Content and features:&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Levels become ScriptableObjects, one per level, ported from &amp;lt;code&amp;gt;SeedLevel1..14&amp;lt;/code&amp;gt;.&lt;br /&gt;
* Votes use a 2/3 quorum with a 15 s timeout, and early rejection when the vote can no longer pass.&lt;br /&gt;
* Whistles, the circuit puzzle, the HUD, the pause menu and the minimap all carry over.&lt;br /&gt;
* The cursor is the player object.&lt;br /&gt;
* The player&amp;#039;s name and color come from the MindAttic.Unity profile (MAU-T2), which replaces Cursory&amp;#039;s cookie accounts.&lt;br /&gt;
* The cursor-collision and segmented-tether toggles become per-player settings, fixing Cursory&amp;#039;s README/code mismatch.&lt;br /&gt;
* Out of scope: Cursory&amp;#039;s dead &amp;lt;code&amp;gt;SwitchTile&amp;lt;/code&amp;gt;/&amp;lt;code&amp;gt;Door&amp;lt;/code&amp;gt; types.&lt;br /&gt;
&lt;br /&gt;
== Execution (Step 0 done 2026-10-20 under MAT-T7, UM-T2, UC-T2) ==&lt;br /&gt;
&lt;br /&gt;
=== Step 0: bootstrap (done by me right after approval, one MindAttic.Toolkit chore ticket) ===&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;code&amp;gt;gh repo create mindattic/MindAttic.Unity.Multiplayer --public&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;mindattic/UnityCursory --public&amp;lt;/code&amp;gt;.&lt;br /&gt;
# Run &amp;lt;code&amp;gt;mindattic-agent-standard/clone-repo.ps1 -Repo &amp;amp;lt;name&amp;gt;&amp;lt;/code&amp;gt; for each. This clones the repo, tags it &amp;lt;code&amp;gt;wip&amp;lt;/code&amp;gt; and restarts the Launcher.&lt;br /&gt;
# &amp;lt;code&amp;gt;workflow repos rollout tickets --apply&amp;lt;/code&amp;gt;, which assigns each repo its code and USER_STORIES.md.&lt;br /&gt;
# &amp;lt;code&amp;gt;install-commit-hooks.ps1&amp;lt;/code&amp;gt;.&lt;br /&gt;
# Add AGENTS.md/CLAUDE.md forwarders like the sibling repos.&lt;br /&gt;
# File every ticket below with &amp;lt;code&amp;gt;workflow ticket new&amp;lt;/code&amp;gt;, chain them with &amp;lt;code&amp;gt;workflow ticket link &amp;amp;lt;later&amp;gt; requires &amp;amp;lt;earlier&amp;gt;&amp;lt;/code&amp;gt;, then run &amp;lt;code&amp;gt;orchestrator approve&amp;lt;/code&amp;gt; on each.&lt;br /&gt;
# Print the resulting ID map.&lt;br /&gt;
&lt;br /&gt;
=== Ticket chain ===&lt;br /&gt;
&lt;br /&gt;
Each ticket requires the one before it unless it notes otherwise. &amp;quot;MP&amp;quot; means the multiplayer repo and &amp;quot;UC&amp;quot; means UnityCursory; the real IDs are assigned at filing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Unity.Multiplayer&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;strong&amp;gt;UM-T3 (chore)&amp;lt;/strong&amp;gt; Repo skeleton:&lt;br /&gt;
#* package.json and asmdefs&lt;br /&gt;
#* LICENSE (MIT), .gitattributes (LF, HOUSE-LAW-13), README stub&lt;br /&gt;
#* docs/BIBLE.md with the laws: server owns state; nothing above the adapter imports NGO; generator output is C# 9&lt;br /&gt;
# &amp;lt;strong&amp;gt;UM-T4 (feature) Spike:&amp;lt;/strong&amp;gt; a throwaway Unity project with one hand-written &amp;lt;code&amp;gt;[Rpc]&amp;lt;/code&amp;gt; emitted through a toy generator, one NetworkVariable, a host and one client, and an IL2CPP Linux server build. It records go or fallback in an RFC. &amp;lt;strong&amp;gt;This is the gate for UM-T11.&amp;lt;/strong&amp;gt;&lt;br /&gt;
# &amp;lt;strong&amp;gt;UM-T5 (feature)&amp;lt;/strong&amp;gt; Core: NetConfig, the session state machine, and the &amp;lt;code&amp;gt;ITickClock&amp;lt;/code&amp;gt; contract, with dotnet NUnit tests.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UM-T6 (feature)&amp;lt;/strong&amp;gt; Core: the join-code format (high entropy, unambiguous alphabet, checksum) and the &amp;lt;code&amp;gt;IJoinCodeService&amp;lt;/code&amp;gt; contract, with tests.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UM-T7 (feature)&amp;lt;/strong&amp;gt; Core: the approval payload (game version, protocol hash, player token) and its validation, with tests.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UM-T8 (feature)&amp;lt;/strong&amp;gt; Runtime:&lt;br /&gt;
#* the NGO adapter&lt;br /&gt;
#* NetSession with StartHost, StartServer, JoinByAddress and Leave&lt;br /&gt;
#* UDP and WebSocket transport selection&lt;br /&gt;
#* NetworkTickClock&lt;br /&gt;
#* the headless bootstrap&lt;br /&gt;
#* PlayMode tests: host+client, then server+2 clients&lt;br /&gt;
# &amp;lt;strong&amp;gt;UM-T9 (feature)&amp;lt;/strong&amp;gt; Runtime:&lt;br /&gt;
#* ConnectionApproval&lt;br /&gt;
#* SeatRegistry, so a reconnecting player gets the same seat&lt;br /&gt;
#* disconnect reasons&lt;br /&gt;
#* PlayMode tests for mismatch rejection and reconnect&lt;br /&gt;
# &amp;lt;strong&amp;gt;UM-T10 (feature)&amp;lt;/strong&amp;gt; Runtime: NetEntity, NetSender, the per-sender rate limiter, and server-driven scene flow. The RPC stubs are hand-written in the exact shape the generator will emit.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UM-T11 (feature)&amp;lt;/strong&amp;gt; Generator:&lt;br /&gt;
#* partial-method RPCs for all four directions&lt;br /&gt;
#* &amp;lt;code&amp;gt;[Synced]&amp;lt;/code&amp;gt; fields&lt;br /&gt;
#* protocol hash&lt;br /&gt;
#* analyzer diagnostics&lt;br /&gt;
#* Generators.Tests snapshot tests&lt;br /&gt;
#* UM-T10&amp;#039;s hand-written stubs replaced by generated ones, with the PlayMode tests unchanged and still green&lt;br /&gt;
#* Requires UM-T4 and UM-T10.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UM-T12 (feature)&amp;lt;/strong&amp;gt; The rendezvous server (.NET 10 minimal API, Dockerfile) with Rendezvous.Tests.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UM-T13 (feature)&amp;lt;/strong&amp;gt; RendezvousJoinCodeService (client, plus the dedicated server&amp;#039;s self-registration) and RelayJoinCodeService. Adds &amp;lt;code&amp;gt;JoinByCode&amp;lt;/code&amp;gt;, with a PlayMode test against an in-process rendezvous server.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UM-T14 (feature)&amp;lt;/strong&amp;gt; A latency and loss simulation profile, plus a lossy PlayMode suite.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UM-T15 (feature)&amp;lt;/strong&amp;gt; Editor: the setup wizard, the prefab validator, and the Build Dedicated Server menu.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UM-T16 (feature)&amp;lt;/strong&amp;gt; The Minimal sample in Samples~.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UM-T17 (chore)&amp;lt;/strong&amp;gt; CI with &amp;lt;code&amp;gt;ci.yml&amp;lt;/code&amp;gt;: dotnet tests and the GameCI PlayMode run, plus a nightly Docker Compose smoke test (server plus 2 headless bot clients). This needs a Unity license secret, which Ryan supplies.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UM-T18 (docs)&amp;lt;/strong&amp;gt; Hosting guide: one section per hosting profile (GenericVps, RunPod), how to pick one, and the no-port-forwarding path (Relay for home hosting). Includes checking RunPod&amp;#039;s current UDP support. Requires UM-T23.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UM-T19 (docs)&amp;lt;/strong&amp;gt; DocFX site:&lt;br /&gt;
&lt;br /&gt;
* guides: Getting Started in 10 minutes, Topologies, Attributes reference, Join codes, Reconnect and seats, Testing, Hosting, Porting a game, Troubleshooting&lt;br /&gt;
* API reference generated from XML docs&lt;br /&gt;
* published to GitHub Pages by &amp;lt;code&amp;gt;docs.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
* README rewritten to README-STYLE, linking the site&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;strong&amp;gt;UM-T20 (chore)&amp;lt;/strong&amp;gt; Tag v1.0.0. Release notes.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UM-T23 (feature)&amp;lt;/strong&amp;gt; Server package + hosting profiles (see Hosting). Requires UM-T15. UM-T18 and UC-T13 require it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;UnityCursory&amp;lt;/strong&amp;gt; (UC-T3 requires UM-T10, so early porting can start before the generator lands. UC-T7 requires UM-T20, library v1.0.0; UC-T12 requires MAU-T2, MindAttic.Unity profiles; UC-T15 requires UM-T19, the DocFX site.)&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;strong&amp;gt;UC-T3 (chore)&amp;lt;/strong&amp;gt; Unity 6000.4.3f1 project:&lt;br /&gt;
#* URP 2D&lt;br /&gt;
#* manifest referencing &amp;lt;code&amp;gt;file:../../MindAttic.Unity.Multiplayer/unity/com.mindattic.unity.multiplayer&amp;lt;/code&amp;gt; and Capture&lt;br /&gt;
#* the &amp;lt;code&amp;gt;Tests/Core.Tests&amp;lt;/code&amp;gt; dotnet pattern&lt;br /&gt;
#* BIBLE.md that ports the CUR-LAW rules&lt;br /&gt;
#* .gitattributes&lt;br /&gt;
# &amp;lt;strong&amp;gt;UC-T4 (feature)&amp;lt;/strong&amp;gt; The engine-free Core model, ported from &amp;lt;code&amp;gt;GameState.cs&amp;lt;/code&amp;gt;: blocks, shapes, walls, goals, circuit, votes, whistles, plus the level data schema. Includes NUnit tests.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UC-T5 (feature)&amp;lt;/strong&amp;gt; Level ScriptableObjects for L1–L14 ported from &amp;lt;code&amp;gt;SeedLevelN&amp;lt;/code&amp;gt;, plus SolvabilityTests ported from Cursory.Tests.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UC-T6 (feature)&amp;lt;/strong&amp;gt; Server physics sim: Script mode at 30 Hz, the friction and grab joint mapping, mass/inertia/damping. PlayMode test: one cursor moves mass 1.0 but not 2.0; two cursors move 2.0.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UC-T7 (feature)&amp;lt;/strong&amp;gt; Networked cursor as the player object. &amp;lt;code&amp;gt;[ToServer]&amp;lt;/code&amp;gt; Move/Grab/GrabShape/GrabWall/GrabWireEnd/Release, server-authoritative body sync, interpolation.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UC-T8 (feature)&amp;lt;/strong&amp;gt; Tethers, the segmented rope and cursor collision, as per-player settings.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UC-T9 (feature)&amp;lt;/strong&amp;gt; Goals and win detection (block and shape), plus the circuit bulb logic, ported with CircuitTests.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UC-T10 (feature)&amp;lt;/strong&amp;gt; Votes (reset and level, 2/3 quorum, early reject, 15 s timeout) and whistles.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UC-T11 (feature)&amp;lt;/strong&amp;gt; Client presentation: camera pan and zoom (0.1–4), click-vs-drag thresholds, the HUD, vote overlay, level banner, pause menu and minimap, with synthesized whistle tones.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UC-T12 (feature)&amp;lt;/strong&amp;gt; Front end: the profile name and color (MindAttic.Unity), Host / Join by IP / Join by code / Quit, and the join-code display for the host.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UC-T13 (feature)&amp;lt;/strong&amp;gt; The dedicated server build and Docker image for the server plus rendezvous, deployed per UM-T18.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UC-T14 (chore)&amp;lt;/strong&amp;gt; An end-to-end test: server plus 2 headless bots solve L2 together.&lt;br /&gt;
# &amp;lt;strong&amp;gt;UC-T15 (docs)&amp;lt;/strong&amp;gt; README to README-STYLE with screenshots, a &amp;quot;how it uses the library&amp;quot; page linked from the DocFX &amp;quot;Porting a game&amp;quot; guide, and a v1.0.0 tag.&lt;br /&gt;
&lt;br /&gt;
Every commit names its own ticket (the commit-msg hook enforces this). Each ticket is one commit, on &amp;lt;code&amp;gt;main&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Verification ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;strong&amp;gt;Core:&amp;lt;/strong&amp;gt; &amp;lt;code&amp;gt;dotnet test&amp;lt;/code&amp;gt; on Core.Tests, Generators.Tests and Rendezvous.Tests in each repo.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Unity:&amp;lt;/strong&amp;gt; PlayMode runs of NetcodeIntegrationTest suites in both topologies (host+client, server+2 clients), including the lossy profile, through the Unity CLI with &amp;lt;code&amp;gt;-runTests -batchmode&amp;lt;/code&amp;gt; and in CI.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Smoke test:&amp;lt;/strong&amp;gt; the nightly Docker Compose run, where the Linux server build and 2 bot clients connect by join code and exchange RPCs.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Manual:&amp;lt;/strong&amp;gt;&lt;br /&gt;
** Multiplayer Play Mode with 2 or 3 virtual players: host by code, join by IP, then kill a client and reconnect to confirm it gets the same cursor back.&lt;br /&gt;
** On a real VPS: a dedicated server joined from two machines.&lt;br /&gt;
* &amp;lt;strong&amp;gt;Docs:&amp;lt;/strong&amp;gt; the DocFX site builds without warnings, and the Pages URL loads.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-crumb&amp;quot;&amp;gt;Part of [[Unity.Multiplayer]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-source&amp;quot;&amp;gt;From [https://github.com/mindattic/Unity.Multiplayer/blob/main/docs/rfc/0001-architecture.md Unity.Multiplayer/docs/rfc/0001-architecture.md] via MindAttic.Docs; synced automatically, so edit the repo, not this page.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Unity.Multiplayer]]&lt;/div&gt;</summary>
		<author><name>Docs Sync</name></author>
	</entry>
</feed>