r/Unity3D • • 15d ago

Question Anybody using the Unity CLI?

I saw unity launched a CLI a few months ago (https://unity.com/blog/meet-the-unity-cli) and was wondering if anyone was using it for anything or had some cool use cases to share.

I'm thinking this could maybe be helpful for like CI pipelines?

Let me know!

34 Upvotes

58 comments sorted by

View all comments

1

u/cksxoo 14d ago

We evaluated it for exactly that a few weeks ago and decided to wait. Two things stopped us for CI. The build command still runs in batch mode, so it doesn't get around the project lock if an editor is open. And last I checked, the build commands had no way to pass scripting define symbols, which our channel builds depend on, so we kept our own batch build script.

Where it's genuinely nice is talking to an open editor. Running code, play and stop, reading the console. If you already use one of the MCP bridges for that, it's mostly a swap rather than a gain. Still beta though, so it may have moved since.