Skip to content

UNI024: Missing BurstCompile on ECS type

What and why

Burst-eligible ECS type (ISystem, IJobEntity, IJobChunk struct) without [BurstCompile] on the type or lifecycle methods.

Burst-eligible ECS types without [BurstCompile] may miss job-system performance.

How to fix: add [BurstCompile] on the type or OnCreate/OnUpdate/OnDestroy; disable UNI024 via rules when managed calls are intentional.

Fix guidance

Add [BurstCompile] or disable UNI024 via rules when managed APIs are intentional.

Tags

performance, unity, dots

Suppression

Use // unilyze-disable-next-line UNI024 -- reason immediately before the reported line. These detector findings are line-based, so separate overload occurrences can be suppressed independently. For project-wide suppression, use "rules": { "UNI024": "off" }; use a baseline to freeze existing findings while reporting new ones.