Unity

Light baking with Unity CLI

Oct 27, 2026 9 min
unityautomationcliworkflow
Watch on YouTube Follow Unity on Rundown — free

Summary

AI summaries can be incomplete or wrong. Verify anything important against the original video.

Learn how to use the Unity CLI to automate repetitive lighting baking workflows, save camera views, and write custom CLI commands.

This tutorial demonstrates how to use the Unity Command Line Interface (CLI) to automate repetitive tasks, specifically light baking. Instead of manually opening scenes and waiting for bakes, you can trigger these actions directly from a terminal. The video covers using built-in commands like 'bake_lighting' and 'capture_game_view', as well as how to extend the Unity editor with custom C# static methods marked with the [CliCommand] attribute to create tailored workflows. By bundling actions such as scene validation, baking, and capturing contact sheets into single commands, developers can significantly streamline their lighting iteration process.

Steps to follow

Locked
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5

Key Points

Locked

Worth watching if: You are a Unity developer looking to automate repetitive editor tasks like lighting bakes and want to learn how to create your own custom CLI commands.

Sign in to unlock the full extract

Every claim, key point, and timestamp for this Unity video — plus a daily email of every channel you follow.

Sign in with Google

No credit card. Free tier forever.

Watch on YouTube