com.unity.behavior 1.0.0-pre.1
Source docsNotes: processedReleased September 13, 2024
Browse versions
PreviousNext
Unity Compatibility
Minimum Unity: 6000.0 (16f1)
Package Dependencies
- com.unity.burst (1.7.2)
- com.unity.collections (2.1.4)
- com.unity.dt.app-ui (2.0.0-pre.10)
- com.unity.modules.ai (1.0.0)
- com.unity.modules.animation (1.0.0)
- com.unity.modules.audio (1.0.0)
- com.unity.modules.particlesystem (1.0.0)
- com.unity.modules.unitywebrequest (1.0.0)
- com.unity.nuget.newtonsoft-json (3.2.1)
✨ Features
- BlackboardVariable support for various Resource types.
- BlackboardVariables of type UnityEngine.Object can now have an embedded value in their field (previously needed to set it in the GameObject's inspector).
- Added new behaviors to StartOnEvent node (Default, Restart, Once).
- Blackboard assets can now be created through the Project view Create menu.
- Added serialization/deserializatioon support for graph, blackboard and node values to JSON. Added demonstation sample.
- Allow using `TooltipAttribute` on BlackboardVariables to display a tooltip.
- Can now right click on a Blackboard Variable to copy its GUID.
- Can now right click on a Blackboard Variable to copy its GUID.
- Inspector will now display an inspection of the behavior graph, when nothing else is being selected.
- The Story button on the editor toolbar has been removed, and the graph's subgraph representation can now be edited through the Inspector.
- Transform Blackboard Variable type to the default blackboard options.
- Can add Blackboard references to graphs.
- Shared variables that are shared between instances of the same graph.
- Run Subgraph node combines now two nodes, a static Run Subgraph and the new Run Subgraph Dynamic, which can be used to run graphs dynamically on runtime.
- Subgraph variables can now be added on the Blackboard.
- Adds new built-in nodes
- Transform Blackboard Variable type to the default blackboard options.
- Can add Blackboard references to graphs.
- Shared variables that are shared between instances of the same graph.
- Run Subgraph node combines now two nodes, a static Run Subgraph and the new Run Subgraph Dynamic, which can be used to run graphs dynamically on runtime.
- Subgraph variables can now be added on the Blackboard.
📈 Improvements
- AppUI dependency updated to 2.0.0-pre.6.
- Blackboard, Node Wizard and Condition Wizard now use a search window for variables.
- Removed variable icons.
- Creation wizards fields will be automatically focused when shown.
- Replaced icons for behavior graph agent and the graph asset with new designs.
- Updated node filenames and class names to have appropriate postfixes.
- Replaced all mouse events & usages to pointer events.
- Updated MoveToLocation and MoveToTarget logic for slowing down as target reached to use a distance from target instead of Min(Speed, Distance);
- Updated blackboard variable field assignment to support implicit casting between GameObject and components, components and GameObjects as well as components of different types.
- Moved existing built-in nodes to package namespace
- Updated built-in nodes categories
- Merged Repeat nodes into a single node.
- Merged Run in Parallel nodes into a single node.
- Updated all tutorial images to be JPEG intead of PNG for a significant memory saving.
- Start node repeat field is no longer a link field.
🔧 Bug Fixes
- Disabled inspector buttons for editing the definitions of built-in nodes.
- Inspector showing buttons for editing the definitions of built-in nodes.
- Fixed custom node definition editing not cleaning up existing properties.
- Crashes on Domain reload caused by OnAssetsSave().
- Performance when dragging nodes around a graph.
- Fixed newly created Conditions not being automatically added to the selected Conditional node.
- Fixed RepeatWhile node behaving like a do while.
- Conditions not getting copied properly when a conditional node was duplicated.
- Fixed navigation nodes sometimes stalling after being called successively.
- Fixed click events going through to elements underneath search menu items.
- Sequence insertion indicator didn't render at the correct width when dragging a node on top of a node then moving the mouse ontop of another node.
- Multiple instances of graphs being kept in memory when processed on save.
- Fixed pressing delete on an empty graph adding unnecessary command.
- Inheriting from another Node will correctly display the inherited Blackboard Variables.
- Fixed Graph Editor title blocking interaction with Open and Debug buttons.
- Crashes on Domain reload caused by OnAssetsSave().
- Fixed asset name in graph editor not updating when asset name changed on disc.
- Fixed newly created Conditions not being automatically added to the selected Conditional node.
- Fixed RepeatWhile node behaving like a do while.
- Conditions not getting copied properly when a conditional node was duplicated.
- Fixed navigation nodes sometimes stalling after being called successively.
- Fixed click events going through to elements underneath search menu items.
⚠️ Known Issues
- Clearing a node field, saving and reverting the asset in source control does not restore the field value.
- PlayParticleSystem internal pooling does not support runtime deserialization.
