Announcing the Unity CLI: A new way to connect your tools and agents

Trying to run it inside the AI Chat window in Jetbrains rider using codex i get this error:

error: Uncaught (in promise) Error: EEXIST: file already exists, mkdir ‘C:\Users\MY_USERNAME\AppData\Roaming\UnityHub\logs’
fs.mkdirSync(LOG_DIR_PATH, { recursive: true });
^
at fixMkdirError (ext:deno_node/fs.ts:1:26599)
at Object.mkdirSync (ext:deno_node/fs.ts:1:28841)
at new LoggerFactory (file:///C:/Users/MY_USERNAME/AppData/Local/Temp/deno-compile-unity.exe/index.js:3168:6)
at Container.instantiate (file:///C:/Users/MY_USERNAME/AppData/Local/Temp/deno-compile-unity.exe/container-gRSTit4_.js:214:21)
at file:///C:/Users/MY_USERNAME/AppData/Local/Temp/deno-compile-unity.exe/index.js:3519:39

Not sure if this is really true because the AI returned this

My prompt was:

call C:\Users\MY_USERNAME\AppData\Local\Unity\bin\unity.exe --help in powershell

Running it in powershell works fine

EDIT: this is a codex issue because running

“C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe” -Command “& ‘C:\Users\MY_USERNAME\AppData\Local\Unity\bin\unity.exe’ --help” works… nice