Unity Insight: A Production Code--Asset Index for LLM Coding Agents in Unity Projects

📅 2026-09-23
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
为解决LLM编码代理在Unity项目中跨文件查询的问题,提出Unity Insight,一种代码-资产索引工具,显著减少查询时间和成本。
📝 Abstract
LLM coding agents increasingly operate inside game-engine repositories, where application logic is inseparable from serialized assets: a single gameplay change may span C\# scripts, prefabs, scenes, and ScriptableObjects wired together by Unity GUIDs. The retrieval tools agents carry today---shell utilities and code-only indexes---cannot answer basic cross-file questions, because these relationships live in \texttt{.meta} files and YAML assets rather than in code. We present Unity Insight, to our knowledge the first persistent, LLM-facing, agent-integrated cross-file code--asset index for Unity projects, shipping in production with Tuanjie Codely, the agent CLI of Tuanjie Engine, since its public launch on 2026-07-28. In a paired experiment---28 project-specific questions on two Unity games, same model and harness, one run per arm per question---the index-backed agent spent 53\% fewer tokens and 52\% less wall-clock time than a general-purpose exploration agent (exact paired sign tests, $p{<}0.004$), using only its typed index-query tools.
Problem

Research questions and friction points this paper is trying to address.

LLM coding agents
game-engine repositories
cross-file relationships
Unity projects
asset index
Innovation

Methods, ideas, or system contributions that make the work stand out.

Unity Insight
LLM coding agents
cross-file code-asset index
Unity projects
🔎 Similar Papers
No similar papers found.
S
Shenhua Gu
Tuanjie Engine, Unity, Shanghai, China
H
Hongqiang Zhu
Tuanjie Engine, Unity, Shanghai, China
F
Fan Zhang
Tuanjie Engine, Unity, Shanghai, China
Jinming Zhang
Jinming Zhang
Queen Mary University of London
LLMsLLMs in Game
H
Hao Chen
Tuanjie Engine, Unity, Shanghai, China