Forum Discussion

quentin.valembois's avatar
quentin.valembois
Start Mentor
5 months ago

VR Optimization in Unity - A Complete List of Tools and Resources

Hey guys, I wanted to put together a list of tools and resources for optimizing a VR game in Unity.

As the process can be tricky (profiling, debugging, etc.) and there are a lot of different tools, I hope this helps show the different use cases and workflows.

This list is a work in progress, so if you want to add your favorites or ask questions, please do it here. :)

OVERVIEW OF OPTIMIZATION TOOLS

In-Editor

Stats Window
Documentation: https://docs.unity3d.com/Manual/RenderingStatistics.html 
Shows real time rendering statistics (triangles, draw calls, batches) in the Game View to quickly spot bottlenecks.

Profiler
Documentation: https://docs.unity3d.com/Manual/Profiler.html 
Records CPU, GPU, memory, and other subsystem usage to identify hotspot frames or assets.

Project Validation and Project Setup Tool
Documentation: https://developers.meta.com/horizon/documentation/unity/unity-upst-overview/ 
Test a registry of rules called Configuration Tasks (xr setup and optimization) and provide default rules to make your project Meta Quest ready. 

Quest Runtime Optimizer
https://developers.meta.com/horizon/documentation/unity/unity-quest-runtime-optimizer/ 
Provides real time analysis and actionable insights to optimize performance on device.

Unity Project Auditor
https://docs.unity3d.com/Packages/com.unity.project-auditor@1.0/manual/index.html 
Audits your Unity project for performance and best practice compliance.

Frame Debugger
Documentation: https://docs.unity3d.com/Manual/FrameDebugger.html 
Step through draw calls and frame rendering to find overdraw or inefficient passes.

Auto VR Optimizer
https://assetstore.unity.com/packages/tools/utilities/auto-vr-optimizer-318687 
Automated utility to apply common VR optimization settings to your Unity project.

Memory Profiler and Profile Analyzer
Documentation: https://unity.com/how-to/use-memory-profiling-unity 
Capture memory snapshots, compare them, and analyze fragmentation or leaks.

Outside Editor

OVR Metrics Tool
https://developers.meta.com/horizon/downloads/package/ovr-metrics-tool/ 
Capture performance metrics on device, including CPU, GPU, and memory.

Meta Quest Developer Hub
https://developers.meta.com/horizon/downloads/package/oculus-developer-hub-win/ 
Deploy to device, profile, view logs, and measure thermal and throttling behavior.

RenderDoc
Documentation: https://developers.meta.com/horizon/documentation/unity/ts-renderdoc-for-oculus/ 
Graphics frame capture and inspection of draw calls, states, and textures.

Perfetto
Guide: https://developers.meta.com/horizon/documentation/unity/ts-perfettoguide 
Open source system tracing for CPU, GPU, and OS events.

Immersive Debugger
https://developers.meta.com/horizon/documentation/unity/immersivedebugger-overview/ 

Resources

Profiling and debugging tools in Unity
https://unity.com/how-to/profiling-and-debugging-tools 

Ultimate Guide to Profiling Unity Games (e book)
https://unity.com/resources/ultimate-guide-to-profiling-unity-games-unity-6 

Meta XR Performance Best Practices
https://developers.meta.com/horizon/documentation/unity/unity-best-practices-intro 

Optimization for web, XR, and mobile games in Unity 6 (YouTube)
https://youtu.be/2J0kDtUGlrY?si=DfiogFWQronhdowQ 

Unity Optimization E book (Unity 6 edition)
https://unity.com/resources/mobile-xr-web-game-performance-optimization-unity-6 

Valem Tutorials
How to Optimize VR Game Part 1
https://www.youtube.com/watch?v=BeB9Cx_msKA 
How to Optimize VR Game Part 2
https://www.youtube.com/watch?v=Jgf3F--VoPg 
How to Optimize VR Game Part 3
https://youtu.be/qm4-6zHkanM 

Hope this helps. :)

What do you think? Do you have other tools or resources that should be on this list?

No RepliesBe the first to reply

→ Find helpful resources to begin your development journey in Getting Started

→ Get the latest information about HorizonOS development in News & Announcements.

→ Access Start program mentor videos and share knowledge, tutorials, and videos in Community Resources.

→ Get support or provide help in Questions & Discussions.

→ Show off your work in What I’m Building to get feedback and find playtesters.

→ Looking for documentation?  Developer Docs

→ Looking for account support?  Support Center

→ Looking for the previous forum?  Forum Archive

→ Looking to join the Start program? Apply here.

 

Recent Discussions