Light baking with Unity CLI @unity
Light baking with Unity CLI  @unity
Uploaded October 2026 | Updated November 2026, 14 hours ago
Baking lighting across multiple scenes usually means opening each one, waiting for the bake, and checking the same camera angles over and over. With Unity CLI, you can turn that whole routine into a single command you run from the terminal.

In this video, we'll explore a few of Unity CLI's built-in commands and show you how to write your own custom command in just a few lines of C#. Then we'll combine them into a workflow that bakes three scenes (lightmaps, light probes, reflection probes, and environment lighting). For each scene, it captures consistent camera views and builds an HTML contact sheet.

You'll learn how to:
βœ… Connect to a running Unity Editor and browse its available commands
βœ… Run built-in commands like lighting bakes and game view captures from the terminal
βœ… Write a custom command using a static method and the CLI command attribute
βœ… Chain commands into a repeatable bake-and-review workflow that's easy to call from scripts or AI agents.

πŸ”— Download the example scripts: on.unity.com/LightmapBaking_Discussions
πŸ”— Unity CLI documentation: on.unity.com/UnityCLI_Docs

[0:00] Introduction
[0:45] What is Unity CLI?
[1:15] Finding built-in commands
[1:42] Running built-in lighting commands
[3:02] Writing your first custom command
[3:50] Custom lighting workflow commands
[4:54] Three design decisions for custom commands
[6:00] Running the full workflow
[6:54] Reviewing the contact sheets
[7:43] Other baking commands
[8:03] Try it in your own project

_______________

Stay connected with us:
Games Twitter/X: https://x.com/unitygames
Instagram: instagram.com/unitytechnologies
Discord: discord.com/invite/unity
Discussions: discussions.unity.com
LinkedIn: linkedin.com/company/unity
Facebook: facebook.com/unity3d.in
Bluesky: https://bsky.app/profile/unity.com
Company Twitter/X: https://x.com/unity

#Unity #LightBaking #UnityCLI
Light baking with Unity CLIUnity 7 announcementHow to Use Vertex Animation Textures with ECS in UnityBuild custom tools with Unity SparkuGUI features in 6.5
Unity |

Light baking with Unity CLI

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER