unreal-behavior-trees

Installation
SKILL.md

Unreal Behavior Trees, EQS and StateTree

Author NPC decision-making in UE5: a Behavior Tree reads a Blackboard, decorators gate branches, services keep keys fresh, EQS picks locations or targets, and an AIController runs it all. StateTree is the alternative for mode-based AI. Targets UE 5.8.

When to use

  • Creating or fixing BT_/BB_ assets, decorators, services, custom BTTask/BTService/ BTDecorator C++ nodes, or the AIController that runs the tree.
  • Writing or debugging EQS queries (EQS_ assets, Run EQS Query, the EQS Testing Pawn).
  • Building AI with StateTree (ST_ assets, UStateTreeAIComponent) or mixing it with a BT.

When not to use: writing your own behavior-tree or utility-AI runtime, outside Unreal's assets → ai-behavior-trees-utility-ai. Choosing an AI architecture or engine-neutral steering and pathfinding → game-ai. The pawn and controller classes themselves → unreal-cpp-gameplay.

Behavior Tree or StateTree?

Installs
11.0K
GitHub Stars
9.4K
First Seen
Jun 27, 2026