wave7-unity-disable-managed-components-guard

Community

Build safely without managed DOTS components

AuthordyCuong03
Version1.0.0
Installs0

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 IComponentData types and their dependent systems behind #if !UNITY_DISABLE_MANAGED_COMPONENTS so strict build configurations compile cleanly.
  • Always-available blittable fallback: Defines a blittable IComponentData alternative 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 required

Components

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.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.