r1n7aro/Locus

The open source Unity Dev Agent

What it solves

Locus for Unity is designed to reduce the tedious, repetitive work associated with game development in Unity. It provides an AI agent that can handle complex development workflows, from writing C# code to modifying Unity objects and assets, directly within the editor.

How it works

Locus operates as a standalone Rust + Tauri + Vue.js application that runs as an independent process. It uses a proprietary intermediate representation to help the agent read large scenes and assets, and leverages Roslyn for JIT-compilation and semantic analysis of C# code. This allows the agent to make edits and receive compiler-grade diagnostics without waiting for Unity's own compilation process. It also features a built-in C# hot reload system that applies changes instantly without requiring a domain reload, preserving the Play Mode state.

Who it’s for

Unity developers and creators who want to automate feature development, debugging, and asset management using an AI agent.

Highlights

  • In-editor operations: The agent can write C# code and modify Unity objects and assets.
  • Rider-grade static analysis: Provides live diagnostics, go-to-definition, and find-references using Roslyn.
  • C# Hot Reload: Applies code changes instantly without recompiling the assembly or running a domain reload.
  • Automated Knowledge System: Summarizes conversation requirements into design documents and preserves project understanding in long-term memory.
  • Modern Editor UI: Allows the agent to build Unity editor interfaces using Vue.js via the /view command.
  • Runtime Analysis: Uses C# state-machine tools to sample internal state through reflection for dynamic debugging.
  • Visual Version Control: Includes a graphical interface for semantic diff review and conflict resolution for Unity YAML files.

Related

  • Project
  • Project
  • Project
  • Project
  • Project