baker-depends-on
CommunityEnsure incremental baking updates correctly
Software Engineering#dependency-tracking#scriptableobject#baking#deterministic-data#incremental-build#unity-dots#asset-rebake
AuthordyCuong03
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Prevents stale or silently incorrect baked results by ensuring a Unity DOTS Baker properly declares every external data source it reads, so the baking system can rerun the Baker when those inputs change.
Core Features & Use Cases
- Registers Baker read dependencies: Calls to Baker API methods are treated as the “input declaration,” so referenced assets, ScriptableObjects, nested data, and sibling GameObjects trigger correct incremental rebakes.
- Covers nested and null-safe cases: Declares dependencies before null checks so removals and later restorations still cause the Baker to rerun.
- Supports transform and component reads: Uses
GetComponent<T>(gameObject)so transform/component access is tracked through the Baker API rather than bypassing it. - Use case: When a Baker builds baked components using Mesh, Texture, or ScriptableObject fields, this Skill helps you register
DependsOn(...)for every asset and nested field used to compute the final baked data.
Quick Start
When implementing a Baker that reads assets or nested fields (like Meshes or ScriptableObject properties), call DependsOn(...) for each declared input before any null-guard return and use the Baker API methods for component/transform access.
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: baker-depends-on Download link: https://github.com/dyCuong03/unity-agent-team/archive/main.zip#baker-depends-on 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.