Mining Unity VR Repositories for Refactoring Patterns and Technical Debt
Faraz Gurramkonda (University of Michigan-Dearborn), Neeraj RandhirSingh Saini (University of Michigan-Dearborn), Michael Gharbieh (University of Michigan-Dearborn), Bruce Maxim (University of Michigan-Dearborn), M. Rasel Mahmud (Kennesaw State University), Foyzul Hassan (University of Michigan-Dearborn)
Key points
From the paper's conclusion- We mined 1,755 candidate refactoring commits from 176 open-source Unity VR repositories and manually examined a sample of 303 commits, of which 270 contained at least one refactoring.
Abstract
Maintaining virtual reality (VR) applications poses challenges tied to real-time performance, hardware dependencies, and complex interactions. Yet little is known about how developers refactor these applications, which kinds of technical debt they address, or how well automated tools capture VR-specific changes. We mined 1,755 candidate refactoring commits from 176 open-source Unity VR repositories and manually examined a sample of 303 commits, of which 270 contained at least one refactoring. We also extended RefactoringMiner to create VRRefMiner, a tool that detects conventional refactorings in C# scripts used by Unity applications. Our analysis found both conventional and VR-specific refactorings. VR-specific changes addressed concerns such as interaction logic, performance, and Unity-specific artifacts. Code debt was the most prevalent category overall, while interaction debt and UI/UX debt were the main categories addressed by VR-specific refactorings. Across the repositories, VRRefMiner detected 15,549 operations spanning 68 refactoring types, with structural moves and extractions accounting for 31.0% of detections. It detected conventional refactorings in 216 of 246 commits labeled as general refactoring. In the 24 commits labeled as VR-specific, the tool could detect conventional changes but identified no VR-specific refactoring categories. These results point to a need for detection techniques that account for both source code and the Unity artifacts involved in VR maintenance.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- GenXR-Bench: Benchmarking Coding Agents for Interactive XR DevelopmentarXiv · 2026
- Automated Program Repair for UI-Centric Android Bugs: How Far Are We?Proceedings of the ACM on Software Engineering · 2026
- Dynamic Vergence-Accommodation Conflict: Effects on 3D Selection Performance When Target Depth Changes.IEEE transactions on visualization and computer graphics · 2026
- Debugging Cyber-Physical Systems: The Impact of Anchoring Strategies and Degree of Virtuality of Debugging Visualizations.IEEE transactions on visualization and computer graphics · 2026
- ViBR: Automated Bug Replay from Video-Based Reports using Vision-Language ModelsProceedings of the ACM on software engineering. · 2026
- Software Engineering Practice in the Virtual Reality/Augmented Reality Software Life Cycle: A Systematic SurveyarXiv · 2026