docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    About Unity Behavior

    Unity Behavior is a visual tool for authoring behaviors that control non-player characters (NPCs), gameplay logic, objects, and scene interactions in Unity.

    Use Unity Behavior to control the interactions of multiple characters, orchestrate cinematic scenes, trigger timed or contextual events, and react to player actions. It takes the complexity out of behavior authoring, thereby bringing vision to life with ease.

    Note

    Unity refers to behavior trees as behavior graphs to highlight its advanced capabilities and added features. Unlike traditional behavior trees, behavior graphs in Unity Behavior allow for non-linear structures where branches can merge back, enabling more complex and interconnected behaviors.

    Note

    It's free to use Unity Behavior.

    Explore the Unity Behavior features and get started with using behavior graphs.

    Topic Description
    Behavior graphs Get started with understanding a behavior graph and its components.
    Behavior graphs node types Understand the logic flow in a behavior graph using nodes.
    Unity Behavior user interface Understand the main window of the Unity Behavior editor.
    Install Unity Behavior with the Package Manager Use the Package Manager to install Unity Behavior.
    Create a behavior graph Learn how to create and open a new behavior graph in Unity, add nodes, and connect them to define agent behavior.
    Save and load running graph state Save and restore the state of behavior graphs.
    Debug the Agent in real time during Play mode Understand the workflow and how the behavior graph runs.
    Troubleshooting issues with Unity Behavior Use these solutions to common problems while working with behavior graphs, including debugging tips and known limitations.
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)