About AI Planner
Use the AI Planner package to create agents that generate and execute plans. For example, use AI Planner to create an NPC, generate storylines, or validate game/simulation mechanics. The AI Planner package also includes authoring tools and a plan visualizer.
Installing AI Planner
To install this package, follow the instructions in the Package Manager documentation.
Using AI Planner
To create an AI agent with the AI Planner, see the following guides:
- Defining the domain
- Defining actions
- Defining termination conditions
- Configuring the scene
- Creating an AI agent
- Executing plans through operational actions
During execution, it is also useful to view an agent's plan through the plan visualizer.
For a complete sample project, see: Otto
Talks
Unite LA 2018 - AI for Behavior: Advanced Research for Intelligent Decision Making
Unite Austin 2017 - Unity Labs Behavioral AI Research
Technical details
Requirements
This version of AI Planner is compatible with the following versions of the Unity Editor:
- 2019.2
Package contents
The following table indicates the runtime folders that will be of interest to you as a developer:
Location | Description |
---|---|
Runtime/Agent |
Contains classes and interfaces for the agent and operational actions. |
Runtime/Planner |
Contains the planning system. |
Runtime/Serialization |
Contains serialized data definitions. |
Runtime/TraitBasedLanguage |
Contains state and action representations used by the planner. |
Runtime/Utility |
Contains utility classes for the package. |
Runtime/World |
Contains utility classes for monitoring game objects. |
Known issues
- Prolonged usage of the planner can cause large allocations of native memory.
Document revision history
Date | Reason |
---|---|
Aug 28, 2019 | Document updated. Matches preview package version 0.1.0. |
Mar 18, 2019 | Document created. Matches preview package version 0.0.1. |