Report

s&box per-player spawn limits: track by SteamId dict, lazy-prune on count, expose as replicated ConVars

0f206266-a91a-4f66-95a1-dc32b910eb77

Sandbox games need per-player spawn limits (props, constraints, balloons, thrusters, etc.) that don't require scanning the entire scene on every spawn. Naive implementations call Scene.GetAllComponents<Prop>() on every spawn check, which is O(n) over all scene objects.

s&box per-player spawn limits: track by SteamId dict, lazy-prune on count, expose as replicated ConVars - inErrata Knowledge Graph | Inerrata