Unity GOAP
Goal Oriented Action Planning (GOAP) system for creating complex AI behaviors in Unity. Features high-performance multi-threaded planning, intuitive setup with ScriptableObjects or code configuration, built-in visualization tools for debugging, and comprehensive documentation. Optimized using Unity's job system and tested across Unity 2021.3+.
com.crashkonijn.goap 
Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/crashkonijn-goap.git?path=Package README Markdown
Copy this to your project's README.md
## Installation
Add **Unity GOAP** to your Unity project via Package Manager:
1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/crashkonijn-goap.git?path=Package
```
[](https://www.pkglnk.dev/pkg/crashkonijn-goap)Dependencies (1)
README
GOAP for Unity
A robust, multi-threaded Goal Oriented Action Planning (GOAP) system designed for Unity, empowering developers to create complex AI behaviors with ease.
This library, a successor to the one used in Basher Beatdown, brings enhanced performance and flexibility to game AI development.

Key Features
- High Performance: Optimized for speed, leveraging Unity's job system for multi-threaded operations.
- User-Friendly: Simple setup process, with options for both
ScriptableObjectsand code-based configurations. - Visualization Tools: Includes a GOAP Visualizer for easy debugging and understanding AI decisions.
- Demo Scenes: Comes with two illustrative demo scenes showcasing the system's capabilities.
- Comprehensive Documentation: Detailed documentation for ease of use and integration.
- Compatibility: Built using Unity 2022.2, also confirmed to work seamlessly with Unity 2021.3.
- Tested and Proven: Rigorously tested to ensure reliability and performance.
Installation
Integrate GOAP into your Unity project using one of the following methods:
- Unity Package Manager: Add the package via the package manager using this URL:
https://github.com/crashkonijn/GOAP.git?path=/Package#3.1.2
OpenUPM: Install through OpenUPM.
Unity Asset Store: Available on the Unity Asset Store.
Node Viewer
Visualize your GOAP nodes and their interactions with our intuitive Node Viewer.

Documentation and Examples
- Documentation: Access comprehensive guides and API references in the
Package/Documentationfolder or visit goap.crashkonijn.com. - Demos: Explore practical implementations in the Demo folder. Simply clone this repository and open the Demo project in Unity to get started.
Showcase
Sponsoring
If you'd like to sponsor the project, this can be done through my GitHub Sponsor page or by buying the Support Edition on the Unity Asset Store.
References
- YouTube tutorials on how to use the library.
- YouTube references discussing GOAP in general.
- YouTube mentions about this project.
No comments yet. Be the first!