Skip to content

hoatv2211/GameStudio-CodexKIT / skills/unity-batchmode-build-verification

unity-batchmode-build-verification

Verified

Use when a Unity batch or batchmode, BuildPipeline, Editor.log, PlayerSettings, or Unity CI job is involved.

FileKindSize
SKILL.mdskill md3.6 KB
agents/openai.yamlconfig303 B
references/commands.mdmarkdown1.7 KB
scripts/build_evidence.pyscript1.3 KB

references/commands.md

View on GitHub
# Unity Batchmode Command Reference

Use project-owned build methods and explicit paths. Replace placeholders only after inspecting the target project.

## Windows PowerShell

```powershell
$unityExe = 'C:\Program Files\Unity\Hub\Editor\2021.3.45f1\Editor\Unity.exe'
$projectPath = 'D:\Projects\MyGame'
$buildPath = 'D:\Builds\MyGame\Game.exe'
$logPath = 'D:\Builds\MyGame\Editor.log'

& $unityExe -batchmode -nographics -quit `
  -projectPath $projectPath `
  -executeMethod Studio.Build.PerformWindows64 `
  -buildTarget StandaloneWindows64 `
  -buildPath $buildPath `
  -logFile $logPath
$buildExitCode = $LASTEXITCODE
```

## Linux or macOS shell

```bash
"$UNITY_EXE" -batchmode -nographics -quit \
  -projectPath "$PROJECT_PATH" \
  -executeMethod Studio.Build.PerformLinux64 \
  -buildTarget StandaloneLinux64 \
  -buildPath "$BUILD_PATH" \
  -logFile "$LOG_PATH"
build_exit_code=$?
```

## Artifact inspection

```powershell
Get-Item -LiteralPath $buildPath | Select-Object FullName,Length,LastWriteTimeUtc
Get-FileHash -LiteralPath $buildPath -Algorithm SHA256
Select-String -LiteralPath $logPath -Pattern 'error CS|BuildFailedException|Aborting batchmode|License'
```

```bash
test -e "$BUILD_PATH"
sha256sum "$BUILD_PATH"
rg -n "error CS|BuildFailedException|Aborting batchmode|License" "$LOG_PATH"
```

## Evidence

Record the exact command, Unity version, project snapshot, exit code, Editor.log path, artifact path, size, hash, duration, and known side effects.

Do not treat exit code zero as PASS when the expected artifact is absent. Do not add package upgrades, scene saves, project-setting edits, or release-output overwrites to a diagnostic build without approved scope.
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall