
Ue State Trees
State Trees are Unreal's data-driven alternative to Behavior Trees, built for both single-actor AI and Mass Entity crowds at scale. The architecture is clever: tasks and conditions are lightweight structs instead of UObjects, and execution context gets reconstructed each tick from persistent instance data, making parallel evaluation safe. You get hierarchical states with evaluators that run globally before transitions, plus a schema system that validates what data your tree can touch at edit time. The instance data pattern takes getting used to (all your mutable state lives in a separate struct), but it pays off when you're running thousands of entities. If you're migrating from Behavior Trees or building AI that needs to scale beyond a few dozen actors, this is the modern path forward.
- skills.sh installs
- 1.2K
- GitHub stars
- 446
- last updated
- Aug 21, 2026
Install
$ npx -y skills add quodsoler/unreal-engine-skills --skill ue-state-trees --agent claude-codeInstalls into .claude/skills of the current project.
Files
UE State Trees
Target engine: UE 5.8. APIs below are verified against the 5.8 headers; older forms are listed under "Deprecated — do not use".
State Tree is a data-driven hierarchical state machine authored as a UStateTree data asset and executed from C++ through an execution context. Runtime types live in the StateTreeModule (plugin StateTree); actor-facing components and schemas live in GameplayStateTreeModule (plugin GameplayStateTree). Mass-entity behaviours add MassAIBehavior (plugin MassAI, Experimental in 5.8) plus MassEntity, MassCore and MassSignals. Add the modules you use to PublicDependencyModuleNames in your .Build.cs.
Context
Read .agents/ue-project-context.md if it exists (module names, conventions, enabled plugins, GAS/networking setup). Do not stop if it is missing.
Identify the area from the request and the codebase. Ask only when two plausible readings would produce different code.
| Request is about… | Go to |
|---|---|
| What the runtime looks like, instance data, contexts | Architecture, Execution Contexts |
| Writing a task | Tasks |
Sponsors
Details
- Repository
- github.com/quodsoler/unreal-engine-skills
- Category
- Game Development
- First seen
- Jun 3, 2026
More from quodsoler/unreal-engine-skills
All 27- Ue Async Threading1.2K
- Ue Mass Entity1.2K
- Ue Game Features1.2K
- Ue Cpp Foundations1.6K
- Ue Ui Umg Slate1.5K
- Ue Editor Tools1.5K
- Ue Testing Debugging1.5K
- Ue Project Context1.4K
- Ue Materials Rendering1.4K
- Ue Module Build System1.4K
- Ue Niagara Effects1.4K
- Ue Gameplay Framework1.4K
- Ue Animation System1.4K
- Ue Actor Component Architecture1.4K
- Ue Input System1.4K
- Ue Data Assets Tables1.3K
- Ue Character Movement1.3K
- Ue Procedural Generation1.3K
- Ue Physics Collision1.3K
- Ue Networking Replication1.3K
- Ue Gameplay Abilities1.3K
- Ue Ai Navigation1.3K
- Ue World Level Streaming1.3K
- Ue Sequencer Cinematics1.3K