Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
sylvain_chague's avatar
sylvain_chague
Honored Guest
6 months ago

Quest Runtime Optimizer fails to analyze captured frame

I am trying to use the Quest Runtime Optimizer (v0.1.0 from the asset store) on an OpenXR project with Unity 2022.3.54f1.
I am building and deploying an apk to a Meta Quest 3 (version 79.0).

The Scan GameObjects functionnality works fine. However, when I try to "Capture Frame" from the Quest Runtime Optimizer editor windows, I get the following error:

MetricAPI: 68946B12.json 
 execode: 0 
 single positional indexer is out-of-bounds
Traceback (most recent call last):
  File "C:\open\fbsource\arvr\projects\integrations\Unity\RuntimeOptimizer\Editor\PerformanceInsight\MetricAPI.py", line 1118, in main
  File "pandas\core\indexing.py", line 1191, in __getitem__
  File "pandas\core\indexing.py", line 1752, in _getitem_axis
  File "pandas\core\indexing.py", line 1685, in _validate_integer
IndexError: single positional indexer is out-of-bounds


UnityEngine.Debug:LogError (object)
Meta.XR.RuntimeOptimizer.Core.Util:DebugLogError (object) (at ./Library/PackageCache/com.meta.xr.runtimeoptimizer@0.1.0/Core/LogUtils.cs:19)
Meta.XR.RuntimeOptimizer.Editor.PerformanceInsight.MetricAPI:GetCaptureMetric (string,string) (at ./Library/PackageCache/com.meta.xr.runtimeoptimizer@0.1.0/Editor/PerformanceInsight/MetricAPI.cs:68)
Meta.XR.RuntimeOptimizer.Editor.PerformanceInsight.CaptureTool:ProcessCaptureToJsonObjFunc (object) (at ./Library/PackageCache/com.meta.xr.runtimeoptimizer@0.1.0/Editor/PerformanceInsight/CaptureTool.cs:787)
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()

The captured frame appears in the Quest Runtime Optimizer editor windows but when I click on it, I get a second error:

Failed to generate perfetto Analysis for 68946B12
UnityEngine.Debug:LogError (object)
Meta.XR.RuntimeOptimizer.Core.Util:DebugLogError (object) (at ./Library/PackageCache/com.meta.xr.runtimeoptimizer@0.1.0/Core/LogUtils.cs:19)
Meta.XR.RuntimeOptimizer.Editor.RuntimeOptimizerWindow:OnGUI () (at ./Library/PackageCache/com.meta.xr.runtimeoptimizer@0.1.0/Editor/RuntimeOptimizer.cs:2205)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Any help would be appreciated.

3 Replies

Replies have been turned off for this discussion
  • Interestingly, while it still doesn't works on my Quest 3, it works perfectly fine on my Quest Pro.

  • Hi! the Error indicates there is missing GPU data. 
    Could you re-launch the app using the "Launch" button?

    The GPU profiling service will need to be enabled before apk starts. 
    you can also run "adb shell ovrgpuprofiler -e"  manually to enable before apk launch

    We are also working on to improve these issues.

    Thank you!