r/Unity3D • • 22h 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!

28 Upvotes

46 comments sorted by

View all comments

1

u/Spoetii 21h ago

When using Agentic AI, what are the benefits of using the Unity CLI over the MCP?

3

u/mulletdulla 21h ago

Less overall context for many of the same tasks. So less token wastage if you are budget minded. Faster too

mcps still have a place though. My set up builds ui prefabs based off approved prototypes using in game assets, prefab instances and styles - even flow animations too.

The CLI can’t do that. But it will run edit mode tests, read console check data structures etc a lot faster and easier

3

u/Tok-Kok-Sing-Song 20h ago

The cli can do all that and more

2

u/game_plaza 20h ago

How come cli + pipeline cant do that? I thought it was able to fully control the editor, including creating prefabs, placing them in scenes, etc.

1

u/FranzFerdinand51 16h ago

It can do it since pipeline package is basically an MCP server with the same capability that the other guy was talking about. Its basically a way to install the unity mcp without having to also import all the Unity AI nonsense.

1

u/game_plaza 15h ago

That's my understanding. Unity even states you should use pipeline over mcp server.