Skip to main content

Unity

@reset/unityv2026.10.20.1· MIT· 1d agoBEHAVIORSACCEPTED WARNINGS
01README

Drive the Unity Editor in batch mode with its documented command-line arguments: resolve the project's editor, compile and read the compiler diagnostics, run the Unity Test Framework and read its NUnit results, and run a project's build method, each written as a resource a workflow can assert on.

02Behaviors1
@reset/unityv2026.10.20.1unity.ts

Global Arguments

ArgumentTypeDescription
projectPathstring
timeoutSeconds?number
logDir?string
fn version()
Read ProjectSettings/ProjectVersion.txt and resolve the editor executable for that version, recording whether it exists
fn compile(maxDiagnostics?: number)
Open the project in batch mode and quit, recording the compiler errors and warnings from the editor log
ArgumentTypeDescription
maxDiagnostics?number
fn test(maxFailures?: number)
Run the project's tests with the Unity Test Framework and record the totals and failures from its NUnit result file
ArgumentTypeDescription
maxFailures?number
fn build(extraArgs?: array)
Run a static build method the project supplies with -executeMethod for a build target, and record the outcome
ArgumentTypeDescription
extraArgs?array

Resources

version(30d)— The project's editor version and the editor executable chosen for it, with whether it exists
compile(infinite)— One batch-mode open of the project: compiler error and warning counts, the first diagnostics, the exit code and a bounded log excerpt
test(infinite)— One Unity Test Framework run: the totals from its NUnit result file, the failed tests with messages, the exit code and a bounded log excerpt
build(infinite)— One -executeMethod build run: the method, target, exit code, duration and a bounded log excerpt
03Stats
A
100 / 100
Downloads
1
Archive size
22.0 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned

05Platforms
06Labels