docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Command reference

    Find the commands you can use to control the Unity Editor or a development Player from the command line, a CI job, or an agent.

    Unity CLI organizes commands in groups. To run a command, use unity command <group> <name>. To list the commands in a group, use unity command <group>. JSON requests and batch operations follow the same <group> <name> format.

    Topic Description
    Pipeline commands Explore commands to track pipeline progress and view the available command catalog.
    Batch command Explore how to run several commands in one transactional request, with cross-operation result references, atomic Undo, and dry-run validation.
    Asset & file commands Explore commands to create, import, move, copy, rename, delete, and find project assets.
    Scene commands Explore commands to create, open, save, or inspect scenes, and manage the Build Settings scene list.
    GameObject & component commands Explore commands to create, find, modify, and transform GameObjects and their components.
    Prefab commands Explore commands to create and instantiate prefabs, derive variants, apply or revert overrides, unpack instances, and edit prefab contents.
    Script commands Explore commands to create and attach C# scripts, read and write serialized fields, and compile and run code in memory.
    Animation commands Explore commands to author animation assets, such as animation clips, Animator Controllers, and Timeline assets.
    Material & shader commands Explore commands to discover, read, and edit material shader properties.
    Baking commands Explore commands to configure, bake, and clear lighting, NavMesh, and occlusion data.
    Navigation & selection commands Explore commands to read or modify the current Editor selection and perform Unity Search queries.
    Capture commands Explore commands to capture the Game view, Scene view, or a UI Toolkit element as a PNG image.
    Wait commands Explore commands that wait on the server for a condition, instead of polling.
    Build, compilation & test commands Explore commands to build the Player, switch the build target, edit build settings or profiles, recompile scripts, and run tests.
    Project settings commands Explore commands to manage project-wide settings, such as Audio, Graphics, Physics, Player, Quality, Tags and Layers, and Time settings.
    Package Manager commands Explore commands to list, search for, add, remove, and resolve packages, and to check the status of Package Manager operations.
    Editor lifecycle & observability commands Explore commands to control Play mode, Editor focus, and menus, and to observe the Editor's state, console, and performance.
    Multiplayer Play Mode & instance commands Explore commands to run Play Mode Scenarios with the main Editor and virtual players, author scenario assets, and find clone instances.
    Runtime commands Explore commands that run in a Player, such as commands to get status, quit, set the frame rate and time scale, read logs, evaluate code, and reload code.

    Additional resources

    • Creating commands
    • Safety & mutations
    • Connectivity
    • Runtime connection & setup
    In This Article
    Back to top
    Copyright © 2026 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)