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
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


![Build custom tools with Unity Spark
Build custom tools with Unity Spark, tailored directly to your projectβs needs right inside the browser editor.
From top-down level painters for exact prop placement to visual mood boards for instant lighting tweaks, Unity Spark creates visual, project-specific controls on the fly. And when you need total precision, seamlessly switch from custom tools straight into Unity Spark Editor control.
Control your workflow at every level of complexity!
π Join the Unity Spark waitlist: [Link]
#Unity #UnitySpark #GooglePlayground Build custom tools with Unity Spark](https://i.ytimg.com/vi/zJVT7T7DXWo/mqdefault.jpg)
