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
    Basic concepts in Unity Behavior Learn how to create and open a new behavior graph, add nodes, and connect them to define agent behavior.
    Create with Unity Behavior Learn how to work the Unity Behavior package and import samples.
    Serialization in Unity Behavior Learn how Unity Behavior stores and restores graph data and Blackboard variables across the Editor and runtime using Unity’s serialization system.
    Troubleshooting issues with Unity Behavior Use these solutions for common problems with behavior graphs, including debugging tips and known limitations.

    Additional resources

    • Introduction
    • How Unity Behavior compares to other Unity solutions
    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)