baking-type-component

Mark intermediate ECS components with [BakingType] to strip them from runtime worlds.

6|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/dyCuong03/unity-agent-team --skill baking-type-component
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baking-type-component
Source: https://github.com/dyCuong03/unity-agent-team/tree/main/.claude/skills/unity-dots/baking-type-component
Command: npx skills add https://github.com/dyCuong03/unity-agent-team --skill baking-type-component

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Baking pipelines often need to carry intermediate, transformation-specific data from Bakers to baking systems, but that data should not appear in the final runtime world.

Core Features & Use Cases

  • Baking-only staging components: Use a [BakingType]-annotated component or buffer element so it exists only during baking, letting baking systems read it safely.
  • Clean runtime output: Automatically strips the [BakingType] component from the destination runtime world after baking systems complete, preventing archetype pollution and runtime misfires.
  • Multi-stage baking patterns: Support scenarios like cross-entity aggregation, blob asset staging, or baking logic that can’t be expressed directly in the final runtime component.

Quick Start

Apply the [BakingType] attribute to your intermediate IComponentData or IBufferElementData so a baking system can read it and produce the final runtime component.

Frequently Asked Questions about baking-type-component

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent intermediate baking data from leaking into the Unity ECS runtime world?

To prevent intermediate baking data from leaking into the runtime ECS world, apply the `[BakingType]` attribute to your temporary `IComponentData` or `IBufferElementData`. Baking systems can safely read this staged data before it is automatically stripped from the final runtime output.

What is the best way to pass staging data between Bakers and baking systems in Unity DOTS?

The best way to pass staging data between Bakers and baking systems in Unity DOTS is using `[BakingType]`-annotated components. This creates a typed message channel for multi-stage baking pipelines, allowing baking systems to consume temporary transformation data without polluting runtime archetypes.

When do I need baking-only components in a Unity DOTS baking pipeline?

You need baking-only components in Unity DOTS when your baking pipeline requires cross-entity aggregation, blob asset staging, or multi-stage transformations. These temporary typed message channels let baking systems read intermediate data that cannot be expressed directly in the final runtime component.

Does Unity automatically strip [BakingType] components from the runtime ECS world?

Yes, Unity automatically strips `[BakingType]` components from the runtime ECS world after baking systems complete. This prevents archetype pollution and runtime misfires by ensuring intermediate Baker-to-baking-system data remains isolated from the final destination world.