arXiv(opens in a new tab)cs.AIOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.29014

GenXR-Bench: Benchmarking Coding Agents for Interactive XR Development

William Huang, David Li, Xiang 'Anthony' Chen, Xun Qian, Nels Numan, Zhongyi Zhou, Hyunsung Cho, Salman Muin Kayser Chishti, Ding Xia, Xincheng Huang, Jiahao Ren, Faraz Faruqi, Tianyu Xu, Yang Zhang, David Kim, Ruofei Du

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

William Huang 12∗^{12*} David Li 2^{2} Xiang ‘Anthony’ Chen 1^{1} Xun Qian 2^{2} Nels Numan 2^{2} Zhongyi Zhou 2^{2} Hyunsung Cho 3^{3} Salman Muin Kayser Chishti 4^{4} Ding Xia 5^{5} Xincheng Huang 6^{6} Jiahao Ren 7^{7} Faraz Faruqi 8^{8} Tianyu Xu 2^{2} Yang Zhang 1^{1} David Kim 2^{2} Ruofei Du 2^{2}

1^{1}University of California, Los Angeles 2^{2}Google XR Labs 3^{3}Carnegie Mellon University

4^{4}University of Oxford 5^{5}The University of Tokyo 6^{6}University of British Columbia

7^{7}Brown University 8^{8}Massachusetts Institute of Technology

ABSTRACT

Coding agents are rapidly advancing from single-file generation to long-horizon repository-scale engineering, yet the evaluation of their capabilities in authoring interactive extended reality (XR) applications remains an open challenge. Unlike traditional software, XR applications operate within dynamic 3D physical environments where runtime robustness depends jointly on continuous user motion, spatial input, and environmental sensing. We introduce GenXR-Bench, the first benchmark for the end-to-end evaluation of coding agents in XR software development. GenXR-Bench contains 112 expert-authored tasks spanning 24 feature implementations, 21 bug repairs, and 67 application generation tasks. Held-out tests combine scripted and adaptive interactions with programmatic and visual assertions to evaluate core functionality and runtime behavior. GenXR-Bench's testing suite achieves 96.5% accuracy against blinded expert judgments of 124 candidate applications executed on consumer XR hardware. Evaluating 10 models on GenXR-Bench, we find that the strongest configuration achieves only 50.9% overall Pass@1. Failure analysis identifies recurring misunderstandings in asynchronous sensor lifecycles, physical grounding, and embodied interaction semantics. GenXR-Bench establishes a reproducible testbed for evaluating coding agents in the interactive and physically situated conditions of spatial computing.

1 INTRODUCTION

Coding agents have become increasingly capable of building interactive software. Recent benchmarks have expanded beyond algorithmic problems (Jimenez et al., 2024) to end-to-end interactive applications, evaluating how models handle dynamic user input in web and desktop environments (Lu et al., 2025; Zhang et al., 2025). Extended reality (XR) introduces a distinct set of challenges for code generation. Unlike 2D software governed by discrete event loops, XR applications operate within continuous 3D physical spaces. Functional correctness depends on the real-time coordination of head and hand kinematics, spatial coordinate transformations, environmental sensing, mixed-reality rendering, and physical ergonomics. Consequently, generating XR software requires reasoning about spatial mathematics, runtime sensor lifecycles, and embodied interaction semantics that are absent in flat-screen software engineering.

Despite these demands, evaluating coding agents in XR remains largely unexplored due to an execution and verification bottleneck. Existing coding benchmarks rely on programmatic unit tests (Jimenez et al., 2024) or browser action runners (Lu et al., 2025), which cannot verify spatial scene graphs or continuous 3D tracking inputs. Conversely, 3D code-generation benchmarks focus primarily on generating static shapes rather than reactive software (Gao et al., 2026), while prior XR benchmarks focus on hardware performance and runtime systems rather than evaluating generative

*Corresponding author: william.huang@ucla.edu

Figure

Figure 1: We present GenXR-Bench, a benchmark to evaluate an agent's ability to understand and create XR apps. All visualizations shown were captured on device.

code synthesis (Huzaifa et al., 2021; Bierbaum et al., 2003; Popescu et al., 2025). Evaluating agent-generated XR software requires an automated and comprehensive testing suite capable of simulating physical environments, exercising embodied user actions, and verifying runtime behavior across diverse implementations.

We present GenXR-Bench, the first benchmark for end-to-end evaluation of coding agents in XR software development. GenXR-Bench comprises 112 expert-curated tasks across two tiers: (1) SDK engineering tasks, consisting of 24 feature implementations and 21 bug repairs in core subsystems such as occlusion shaders, raycast reprojection, and gestural state machines; (2) Application generation tasks, consisting of 67 end-to-end experiences spanning education, healthcare, daily living, design, and entertainment, distilled from a taxonomy of 436 peer-reviewed XR systems papers. To support reproducible, headless execution without the proprietary GUI navigation and multi-gigabyte build toolchains of desktop game engines, all tasks are built on XR Blocks (Li et al., 2025), an open-source WebXR framework. To test candidate implementation at scale, we introduce GenXR-Test, the first set of testing tools that pair deterministic kinematic actors with adaptive VLM-controlled agents in simulated XR environments, evaluating runtime results through both scene-graph assertions and scoped visual checks.

To validate our authored evaluation suite, eight blinded XR experts evaluated 124 candidate applications executed on consumer XR hardware. Across 372 evaluation runs, our automated suite achieved 96.5% mean accuracy against human expert ground truth with a 4.0% flakiness rate, demonstrating that simulator-based evaluation reliably reflects physical device execution. We evaluate 10 model configurations on the full benchmark. The strongest configuration achieves an overall Pass@1 of 50.9%, with performance dropping to 29.2% on SDK feature tasks. Diagnostic analysis reveals recurring failure modes across models: 64.4% of failed runs exhibit coordinate-transformation errors, 44.9% encounter asynchronous sensor initialization races, and 34.5% fail to distinguish bimanual interaction semantics.

In summary, our contributions are as follows:

• GenXR-Bench: An open-source benchmark of 112 expert-authored tasks evaluating coding agents on XR software engineering, spanning SDK-level feature development, bug repair, and end-to-end application synthesis.

• GenXR-Test: XR tooling for automated evaluations using scripted kinematic actors, adaptive VLM agents, runtime state assertions, and scoped visual checks in simulated 3D environments.

• Hardware-Grounded Validation: A validation study across 372 physical XR device trials demonstrating that simulator-based evaluation achieves 96.5% agreement with expert human judgment with low flakiness (4.0%).

• Empirical Analysis of Coding Agents in XR: An evaluation of 10 model configurations identifying key bottlenecks in frontier models, including coordinate-frame handling, sensor lifecycles, and embodied interaction semantics.

Table 1: Comparison with representative coding benchmarks. ER: embodied reasoning; IT: interaction-based testing; VT: visual testing. ER refers to evaluated capabilities of the benchmark (e.g., applications related to physical user interactions or spatial computing) while IT and VT refer to evaluation methods.

DomainBenchmarkPrimary tasksERITVTEvaluation
SWESWE-bench(Jimenez et al., 2024)Repository repair✕✕✕Repository tests
SWE-bench Multimodal(Yang et al., 2025)Repository repair✕✓✓Repository tests; UI-event checks; pixel-level visual tests
WebInteraction2Code(Xiao et al., 2025)Interactive page reconstruction✕✓✓Interaction tests; visual metrics; human assessment
WebGen-Bench(Lu et al., 2025)Website generation✕✓✓Browser-agent tests; VLM judge
GamesGameDevBench(Chi et al., 2026)Feature implementation✕✓✕Deterministic engine tests
GameCraft-Bench(Luo et al., 2026)Game generation✕✓✓Solver-submitted input replay; VLM judge
OpenGame-Bench(Jiang et al., 2026)Browser-game generation✕✓✓Automated play; runtime metrics; VLM judge
GameXpert-Bench(Chen et al., 2026a)Game generation; repair; refinement✕✓✓Behavioral probes; task-specific judgments
3DWorldCoder-Bench(Lu et al., 2026)Interactive world generation✕✓✕Expert-authored runtime contracts
VisualArtifactsBench(Zhang et al., 2025)Artifact generation✕✓✓Interaction screenshots; VLM checklists
InteractScience(Chen et al., 2026b)Scientific demo generation✕✓✓Scripted interaction; assertions; visual assessment
XRVCXR60(Du et al., 2026)App generation✓✕✕Error-free simulator startup
GenXR-Bench(Ours)SDK features; repair; app generation✓✓✓Expert-authored interaction tests; runtime assertions; scoped VLM judge

References (6)

  • Keep the list empty ([]) if no specific physical objects are required
  • Indoor tabletop environment
  • - Describe onboarding, anchoring, spatial UI positioning (e.g., wrist-attached, world-anchored), and interaction paradigms (direct manipulation, pinch-and-drag, voice)
  • - Include positive interaction test cases (verifying core features and happy paths)
  • A basic XR framework provides the sensing and infrastructure, but the app itself is not implemented
  • The absence of this feedback does not block selection when the intended target remains unambiguous