Hello, everyone! Today we are releasing the Unity AI Planner version 0.2.4. In the past few months, our team has moved the trait language into its own package, Semantic Traits. With this change, we taking the first steps in enabling the integration of the trait language into other gameplay and authoring tools for Unity. The Unity AI Planner will continue to use traits, becoming the first of a suite of decision-making and agent control packages built on top of Traits. Highlights in this release:
- Minimum Unity version is now 2020.1.2f
- Entities dependency updated to version 0.16.0-preview.21
- Support for list operators in ActionDefinitions
- Added a âPlanningAgentâ trait in planning states as a flag to identify the object representing the agent (âselfâ)
- Text searching for state data in the plan visualizer
- Planning jobs now allocate less temporary memory during execution
- State conversions after world queries now allocate less managed memory
- A new, experimental C# API has been made public, allowing for customized use of the planner modules
Sample projects: GitHub - Unity-Technologies/ai-planner-samples: AI Planner: Samples
Full docs: About AI Planner | AI Planner | 0.2.4-preview.3
Adding the AI Planner to your project
As you may know, beginning with Unity 2020.1, preview and experimental packages are no longer discoverable in the package manager. See here and here for more information. You will still be able to try out the latest releases of the AI Planner, but to do so, follow either of the methods for adding the package below:
Method 1:
In the package manager window, select the plus (+) sign at the top of the package list, then choose the option âAdd package from git URLâŚâ, entering âcom.unity.ai.plannerâ as input. After a few seconds, the package will be downloaded and imported into your project.
Method 2:
Add this line to your manifest file of your projectâs âPackagesâ directory:
"dependencies": {
"com.unity.ai.planner": "0.2.4-preview.3",
...
Whatâs next for the AI Planner?
Since September, our team has been taking a short hiatus from development on this package so that we may lend our time to the NavMesh team, to help improve stability and reduce user pain. Currently, we expect this effort to round out the remainder of 2020. In the meantime, we are laying out the future plans and feature roadmaps for next year. For 2021, we will focus on integrating the packages with other gameplay and authoring tools at Unity. Stay tuned!