wave7-unity-disable-managed-components-guard
CommunityBuild safely without managed DOTS components
System Documentation
What problem does it solve?
This Skill prevents compile-time failures by conditionally removing managed IComponentData usage for Unity DOTS builds that cannot tolerate managed components, ensuring a project can produce both managed-component and managed-component-free targets.
Core Features & Use Cases
- Preprocessor guard for managed components: Wraps managed
IComponentDatatypes and their dependent systems behind#if !UNITY_DISABLE_MANAGED_COMPONENTSso strict build configurations compile cleanly. - Always-available blittable fallback: Defines a blittable
IComponentDataalternative that remains present in all configurations to keep ECS jobs and data models working regardless of the guard. - Architecture and CI guidance: Emphasizes the need to guard both components and all consuming systems, and recommends enforcing the mode via a dedicated CI build so missing guards are caught early.
Use it when you need the same codebase to support IL2CPP strict builds, DOTS Runtime constraints, or custom stripped builds where managed components are prohibited.
Quick Start
Ask the AI to audit your DOTS components and systems, then update each managed IComponentData and every consumer system to use #if !UNITY_DISABLE_MANAGED_COMPONENTS while adding a blittable fallback component type.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: wave7-unity-disable-managed-components-guard Download link: https://github.com/dyCuong03/unity-agent-team/archive/main.zip#wave7-unity-disable-managed-components-guard Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.