Game guide · source of truth
Ledger

M0-10

Unity runner: one report from batchmode tests and builds

← Ledger

donestatus · M0
9✓ 3✗tests passed / failed
7.30Mtokens · 12 min
7evidence files · 3 kB

Evidence

From logs/evidence/M0-10/. Click a thumbnail for the full image.

Logs and data (7)

build-macos.txt · 566 B · open
$ node tools/unity-run.mjs build macos
# cwd /Users/king/Desktop/Workspace/SRO/zoen
# exit 0

unity-run build-macos: PASS · 117.4 MB on disk, Unity build 4.7 s · 13.5 s · Unity 6000.3.25f1 · exit 0
  build succeeded
  ZOEN_* lines (1):
    ZOEN_BUILD target=macOS result=Succeeded sizeBytes=117381868 seconds=4.7 errors=0 warnings=0 output=/Users/king/Desktop/Workspace/SRO/zoen/apps/client-unity/Builds/macOS/Zoen.app
  errors: none
  log logs/test-output/unity/20261008-075544-build-macos.log · summary logs/test-output/unity/20261008-075544-build-macos.json
build-windows-not-tested.txt · 320 B · open
$ node tools/unity-run.mjs build windows
# cwd /Users/king/Desktop/Workspace/SRO/zoen
# exit 3

unity-run build-windows: NOT TESTED · 0 s · Unity 6000.3.25f1
  ADR-032: Windows has no test machine yet; recorded "not tested" and Unity was not started
  summary logs/test-output/unity/20261008-075553-build-windows.json
editmode.txt · 421 B · open
$ node tools/unity-run.mjs editmode
# cwd /Users/king/Desktop/Workspace/SRO/zoen
# exit 0

unity-run editmode: PASS · 47 passed, 0 failed, 0 skipped (47 total) · 10.4 s · Unity 6000.3.25f1 · exit 0
  all tests passed
  errors: none
  log logs/test-output/unity/20261008-075510-editmode.log · results logs/test-output/unity/20261008-075510-editmode.xml · summary logs/test-output/unity/20261008-075510-editmode.json
playmode.txt · 674 B · open
$ node tools/unity-run.mjs playmode
# cwd /Users/king/Desktop/Workspace/SRO/zoen
# exit 0

unity-run playmode: PASS · 0 passed, 0 failed, 0 skipped (0 total) · 10.2 s · Unity 6000.3.25f1 · exit 0
  no PlayMode tests in the project yet (0 run)
  ZOEN_* lines (1):
    ZOEN_BOOT {"product":"Zoen","version":"0.1.0","unity":"6000.3.25f1","platform":"OSXEditor","graphicsApi":"Metal","graphicsVersion":"Metal","gpu":"Apple M3","device":"Mac15,12","os":"Mac OS X 26.5.2",…
  errors: none
  log logs/test-output/unity/20261008-075523-playmode.log · results logs/test-output/unity/20261008-075523-playmode.xml · summary logs/test-output/unity/20261008-075523-playmode.json
refused-lock.txt · 549 B · open
$ node tools/unity-run.mjs editmode
# cwd /Users/king/Desktop/Workspace/SRO/zoen
# exit 2

unity-run editmode: REFUSED · Unity 6000.3.25f1
  another Unity holds apps/client-unity (apps/client-unity/Temp/UnityLockfile); nothing was started. Wait for it to finish or ask the owner to close the editor, then run again:
    pid 10949 · Unity batchmode · since Thu Oct 8 07:55:44 2026 · ~/Unity/Hub/Editor/6000.3.25f1/Unity.app/Contents/MacOS/Unity -batchmode -nographics -projectPath /Users/king/Desktop/Workspace/SRO/zoen/apps/client-unity -bui…
report-compile-error.txt · 536 B · open
unity-run editmode: FAIL
  scripts have compiler errors; no tests ran (re-read from the saved log; Unity's exit code is not in it)
  errors (first 2 of 2):
    1. [compile] Assets/Zoen/Tests/EditMode/DiagnosticsTests.cs:61 CS1061: 'ConstraintExpression' does not contain a definition for 'AllocatingGCMemory' and no accessible extension method 'AllocatingGCMemory' accepting a first argument of type 'ConstraintExpression'…
    2. [abort] Aborting batchmode: Scripts have compiler errors.
  log tools/unity/fixtures/compile-error.log
report-licence-error.txt · 316 B · open
unity-run setup: FAIL · Unity 6000.3.25f1
  no valid Unity licence: the owner signs in to Unity Hub (re-read from the saved log; Unity's exit code is not in it)
  errors (first 1 of 1):
    1. [licence] No valid Unity Editor license found. Please activate your license.
  log tools/unity/fixtures/licence-error.log

Tests

pass unity-run parser + lock unit tests · 0.3 s · raw log$ node --test packages/game-data/tests/unity-run.test.mjs
pass unity-run editmode (live) · 10.5 s · raw log$ node tools/unity-run.mjs editmode
pass unity-run playmode (live, no PlayMode tests yet) · 10.3 s · raw log$ node tools/unity-run.mjs playmode
fail unity-run refuses while another Unity holds the project (expected exit 2) · 0.1 s · raw log$ node tools/unity-run.mjs editmode
fail unity-run build windows records not tested (ADR-032, expected exit 3) · 0.0 s · raw log$ node tools/unity-run.mjs build windows
pass unity-run build macos (live) · 13.6 s · raw log$ node tools/unity-run.mjs build macos
fail data tests · 6.8 s · raw log$ pnpm data:test
pass data tests · 8.0 s · raw log$ pnpm data:test
pass docs lint + index · 0.2 s · raw log$ pnpm docs:lint
pass wiki typecheck · 2.0 s · raw log$ pnpm --filter @zoen/wiki typecheck
pass wiki production build · 7.1 s · raw log$ pnpm wiki:build
pass wiki e2e (changed specs) · 0.7 s · raw log$ pnpm --filter @zoen/wiki exec playwright test --only-changed

Notes

2026-10-07 23:57 UTC · Runner tools/unity-run.mjs + tools/unity/runner-lib.mjs: editmode, playmode, build web|macos|android, setup, report <log>; build windows|ios records not-tested (ADR-032, exit 3). Editor from ProjectVersion.txt (UNITY overrides); refuses (exit 2) when lsof shows a Temp/UnityLockfile holder or a Unity editor runs with -projectPath on the project, printing pid/kind/start. Files: logs/test-output/unity/<stamp>-<kind>.log/.xml ignored, .json summary tracked; fixtures *.log un-ignored. Live: editmode 47/47 (M0-10-02), playmode 0 tests PASS (03), build macos 117.4 MB 13.5 s (04), refusal named build pid 10949 (05, expected exit 2), windows not tested (06, expected exit 3). Parser tests 7/7 (01) incl. lock holder; also in pnpm data:test 166/166. Fixtures are excerpts of recorded logs (M0-04C editmode/build-macos, M0-04-02 compile error, SETUP-20261007-01 licence log); editmode-fail.xml is the recorded pass XML with one case turned Failed (no real failing run recorded). Evidence logs/evidence/M0-10/*.txt. Decisions: exit codes 0/1/2/3; size = bytes on disk of the output; first CONTINUE_HERE edit hit the 8000-byte limit (M0-10-07 fail), trimmed, verify green (08-12).