← All docs

Build Tab

The Build tab lets you configure and trigger Unity player builds directly from the Claunity panel. What makes it different from the standard Unity Build Settings window is Smart Build — if compilation errors appear during the build, Claunity automatically reads them, writes fixes, and retries the build without any input from you.


Build configuration

Switch to the BUILD tab. You'll see the build form:

Field Description
Build name A label for this build — used in the log output
Platform Target platform: Windows64, macOS, Linux64, Android, iOS, WebGL
Output path Where to save the build. Use the Browse button to pick a folder
Scenes "All" includes every scene in Build Settings. "Current" builds only the active scene
Development Enables the Development Build flag (shows FPS counter, enables profiler)
Script debug Enables script debugging — allows attaching a debugger to the build

Click BUILD to start. The build log appears below the form in real time.


Smart Build

Smart Build is the AI-powered loop that runs automatically when your build fails due to compilation errors.

Here's what happens behind the scenes:

  1. Unity starts the build process
  2. If compile errors appear, Claunity intercepts them
  3. It reads the error messages and the relevant source files
  4. It writes fixes directly to the failing scripts
  5. Unity recompiles (domain reload)
  6. The build retries automatically
  7. This loop repeats up to 5 times

Each iteration is logged in the build output with color-coded entries — blue for AI actions, green for success, red for errors.

▶ Starting build — Windows64

✗ CS0103: The name 'GameManager' does not exist in the current context

● Claunity reading EnemyAI.cs...

● Applying fix — adding missing using directive

⟳ Recompiling scripts...

✓ Compilation successful

✓ Build complete — 47.3 MB · 00:01:23

Domain reload survival

Unity loses all in-memory state after recompilation. Claunity saves the Smart Build state to EditorPrefs before each reload and restores it automatically — so the loop continues seamlessly even after a domain reload.


After the build

When the build succeeds, the result panel shows:

  • Build size — total size of the output
  • Build time — how long it took
  • Output path — where the build was saved
  • Open folder button — opens the output directory in your file explorer

If Smart Build exhausted all 5 retries without success, the log shows the remaining errors. At that point, switch to Vibe Mode and paste the error — Claunity will diagnose the root cause and suggest a deeper fix.


Supported platforms

Platform ID Target
Windows64 Windows 64-bit standalone
Windows32 Windows 32-bit standalone
macOS macOS Universal (Intel + Apple Silicon)
Linux64 Linux 64-bit standalone
Android Android APK — requires Android Build Support module
iOS iOS Xcode project — requires iOS Build Support module
WebGL WebGL build — requires WebGL Build Support module

Platform modules

Mobile and WebGL builds require the corresponding Unity Build Support module to be installed via Unity Hub. If the module is missing, the build will fail immediately with a platform error.