Will this Unity DOTS code compile under Burst, pass the safety checks and stop leaking?
Paste or drop the C# of one DOTS feature - its IComponentData structs, its ISystem or
SystemBase systems, its IJobEntity and IJob jobs, its aspects and
bakers. Your browser reads every file and checks it against Entities 1.x: a system or job that is not
partial, a managed field in a component, UnityEngine.Time or a managed collection in
Burst code, EntityManager structural changes inside a SystemAPI.Query loop, a dropped
JobHandle, a container disposed under a running job, a lookup never updated, a missing
[ReadOnly], command buffers never played back, native memory never disposed. Free, before you
sign in, and nothing is uploaded. Then pick a lane: the audit gives exact edits for each
finding, or the fix lane writes the whole fixed files - and the page re-checks both.
The games, types and values in the examples are invented. The first three are audits (the first also carries a saved fix run of its edited code, one click after the audit), the last two fix runs; each comes with a saved model reply, so you can see the whole page without signing in or spending a credit.
The audit rates Burst and the Entities API, jobs and their dependencies, structural changes, and native memory, confirms or dismisses every flag below, adds what rules cannot see, and gives exact before/after edits for each finding - which the page applies to your paste and re-checks.
What this does, and what it does not
The check is a reading of the text, not a compiler: nothing is built or run, and no Unity is involved. Each
file is lexed so strings, verbatim and interpolated strings, char literals, comments and preprocessor lines are
never mistaken for code, its braces are rebuilt so each type, method, foreach, lambda and object
initializer has its exact extent, every type is classified by what it implements, and each flag carries the
catalogue id it comes from and the line it points at. Checks only see what you paste: other systems, the
subscene, the package versions and the Player settings are outside the check (they are noted, not assumed), and
the Editor with Burst and safety checks on, the Burst Inspector and the Profiler remain the ground truth.
The paid lanes see your paste and the page's facts. Every quote and edit they return is checked against your paste, and every edit and every returned file is put back and re-checked. A paste stays in this browser unless you run a lane. Derived from the agent skill @wshobson/unity-ecs-patterns by Seth Hobson (wshobson/agents, MIT). Unity is a trademark of Unity Technologies; this app is not affiliated with or endorsed by it. Sources are listed in llms.txt.