wave8-enableable-component-query-mismatch
CommunityFix enableable query filters to stay correct
Software Engineering#debugging#unity-dots#enableable components#ecs queries#entityquery filters#WithAll#WithDisabled
AuthordyCuong03
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents correctness bugs where ECS queries silently target the wrong entity set by using the wrong enableable-component filter semantics for IEnableableComponent.
Core Features & Use Cases
- Correct filter selection: Use WithAll, WithDisabled, WithNone, or IgnoreComponentEnabledState intentionally to match enabled, disabled, absent, or all entities.
- Job safety guidance: Avoid redundant or incorrect EnabledRef usage by aligning query options with the job’s expectations.
- Debugging support: Diagnose “systems that silently miss entities” by validating the intended enabled-state behavior against the actual query filter.
Quick Start
Use wave8-enableable-component-query-mismatch when you write or review an EntityQuery (or SystemAPI.Query/QueryBuilder) that targets an IEnableableComponent, and change the filter method to match whether you want enabled-only, disabled-only, absent-only, or all entities.
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: wave8-enableable-component-query-mismatch Download link: https://github.com/dyCuong03/unity-agent-team/archive/main.zip#wave8-enableable-component-query-mismatch 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.