Pattern
State Routing Cleanup Separation
state-routing-cleanup-separation
Input and lifecycle signals (ClientInput scopes, Razor panel updates, NPC behavior ticks, and cleanup events) get coupled to monolithic objects, so state changes route incorrectly or leak, making multiplayer control and teardown unreliable.