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.151Views1like3CommentsVoice SDK Activate() crash in Android build on Meta Quest 3
Hey, Using Unity 2023.2.2. Whenever i call Activate() on the VoiceService (VoiceActivationButton) the app crashes with the following error: Any suggestions? 2023/12/08 18:22:15.037 26663 26687 Info Unity [INFO] [VSDK <WaitForMics>d__71] Found 1 Mics 2023/12/08 18:22:15.037 26663 26687 Info Unity UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object) 2023/12/08 18:22:15.037 26663 26687 Info Unity Meta.WitAi.VLog:Log(VLogLevel, String, Object) 2023/12/08 18:22:15.037 26663 26687 Info Unity Meta.WitAi.Lib.Mic:RefreshMicDevices() 2023/12/08 18:22:15.037 26663 26687 Info Unity Meta.WitAi.Lib.<WaitForMics>d__71:MoveNext() 2023/12/08 18:22:15.037 26663 26687 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) 2023/12/08 18:22:15.037 26663 26687 Info Unity Meta.WitAi.Lib.Mic:SafeStartMicrophone() 2023/12/08 18:22:15.037 26663 26687 Info Unity UnityEngine.GameObject:Internal_AddComponentWithType(Type) 2023/12/08 18:22:15.037 26663 26687 Info Unity UnityEngine.GameObject:AddComponent() 2023/12/08 18:22:15.037 26663 26687 Info Unity Meta.WitAi.Data.AudioBuffer:get_MicInput() 2023/12/08 18:22:15.037 26663 26687 Info Unity Meta.WitAi.Data.AudioBuffer:OnEnable() 2023/12/08 18:22:15.037 26663 26687 Info Unity UnityEngine.GameObject:Internal_AddComponentWithType(Type) 2023/12/08 18:22:15.037 26663 26687 Info Unity UnityEngine.GameObject:AddComponent() 2023/12/08 18:22:15.037 26663 26687 Info Unity Meta.WitAi.Data.AudioBuffer:get_Instance() 2023/12/08 18:22:15.037 26663 26687 Info Unity Oculus.Voice.AppVoiceExperience:GetActivateAudioError() 2023/12/08 18:22:15.037 26663 26687 Info Unity Meta.WitAi.VoiceService:CanActivateAudio() 2023/12/08 18:22:15.037 26663 26687 Info Unity Oculus.Voice.AppVoiceExperience:CanActivateAudio() 2023/12/08 18:22:15.037 26663 26687 Info Unity Oculus.Voice.AppVoiceExperience:Activate(WitRequestOptions, VoiceServiceRequestEvents) 2023/12/08 18:22:15.037 26663 26687 Info Unity Taikonauten.Conduit.UX.VoiceActivationButton:Activate() 2023/12/08 18:22:15.037 26663 26687 Info Unity UnityEngine.Events.UnityEvent:Invoke() 2023/12/08 18:22:15.037 26663 26687 Info Unity UnityEngine.Ev 2023/12/08 18:22:15.038 26663 26725 Info AAudio AAudioStreamBuilder_openStream() called ---------------------------------------- 2023/12/08 18:22:15.038 26663 26725 Info AudioStreamBuilder rate = 16000, channels = 1, channelMask = 0x80000001, format = 5, sharing = SH, dir = INPUT 2023/12/08 18:22:15.038 26663 26725 Info AudioStreamBuilder device = 0, sessionId = -1, perfMode = 10, callback: ON with frames = 0 2023/12/08 18:22:15.038 26663 26725 Info AudioStreamBuilder usage = 0, contentType = 0, inputPreset = 0, allowedCapturePolicy = 0 2023/12/08 18:22:15.038 26663 26725 Info AudioStreamBuilder privacy sensitive = false 2023/12/08 18:22:15.038 26663 26725 Info AudioStreamBuilder opPackageName = (null) 2023/12/08 18:22:15.038 26663 26725 Info AudioStreamBuilder attributionTag = (null) 2023/12/08 18:22:15.038 26663 26725 Debug AudioStreamBuilder build() MMAP not used because AAUDIO_PERFORMANCE_MODE_LOW_LATENCY not requested. 2023/12/08 18:22:15.038 26663 26725 Debug mplate.urpblan PlayerBase::PlayerBase() 2023/12/08 18:22:15.039 26663 26687 Info Unity [INFO] [VSDK <WaitForMics>d__71] Reserved mic Android audio input 2023/12/08 18:22:15.039 26663 26687 Info Unity UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object) 2023/12/08 18:22:15.039 26663 26687 Info Unity Meta.WitAi.VLog:Log(VLogLevel, String, Object) 2023/12/08 18:22:15.039 26663 26687 Info Unity Meta.WitAi.Lib.Mic:StartMicrophone() 2023/12/08 18:22:15.039 26663 26687 Info Unity Meta.WitAi.Lib.<WaitForMics>d__71:MoveNext() 2023/12/08 18:22:15.039 26663 26687 Info Unity UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) 2023/12/08 18:22:15.039 26663 26687 Info Unity Meta.WitAi.Lib.Mic:SafeStartMicrophone() 2023/12/08 18:22:15.039 26663 26687 Info Unity UnityEngine.GameObject:Internal_AddComponentWithType(Type) 2023/12/08 18:22:15.039 26663 26687 Info Unity UnityEngine.GameObject:AddComponent() 2023/12/08 18:22:15.039 26663 26687 Info Unity Meta.WitAi.Data.AudioBuffer:get_MicInput() 2023/12/08 18:22:15.039 26663 26687 Info Unity Meta.WitAi.Data.AudioBuffer:OnEnable() 2023/12/08 18:22:15.039 26663 26687 Info Unity UnityEngine.GameObject:Internal_AddComponentWithType(Type) 2023/12/08 18:22:15.039 26663 26687 Info Unity UnityEngine.GameObject:AddComponent() 2023/12/08 18:22:15.039 26663 26687 Info Unity Meta.WitAi.Data.AudioBuffer:get_Instance() 2023/12/08 18:22:15.039 26663 26687 Info Unity Oculus.Voice.AppVoiceExperience:GetActivateAudioError() 2023/12/08 18:22:15.039 26663 26687 Info Unity Meta.WitAi.VoiceService:CanActivateAudio() 2023/12/08 18:22:15.039 26663 26687 Info Unity Oculus.Voice.AppVoiceExperience:CanActivateAudio() 2023/12/08 18:22:15.039 26663 26687 Info Unity Oculus.Voice.AppVoiceExperience:Activate(WitRequestOptions, VoiceServiceRequestEvents) 2023/12/08 18:22:15.039 26663 26687 Info Unity Taikonauten.Conduit.UX.VoiceActivationButton:Activate() 2023/12/08 18:22:15.039 26663 26687 Info Unity UnityEngine.Events.UnityEvent:Invok 2023/12/08 18:22:15.040 26663 26687 Info Unity [LOG] [VSDK VoiceActivationButton] Voice is not initialized. Attempting to initialize before activating. 2023/12/08 18:22:15.040 26663 26687 Info Unity UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object) 2023/12/08 18:22:15.040 26663 26687 Info Unity Meta.WitAi.VLog:Log(VLogLevel, String, Object) 2023/12/08 18:22:15.040 26663 26687 Info Unity Oculus.Voice.AppVoiceExperience:Activate(WitRequestOptions, VoiceServiceRequestEvents) 2023/12/08 18:22:15.040 26663 26687 Info Unity Taikonauten.Conduit.UX.VoiceActivationButton:Activate() 2023/12/08 18:22:15.040 26663 26687 Info Unity UnityEngine.Events.UnityEvent:Invoke() 2023/12/08 18:22:15.040 26663 26687 Info Unity UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1) 2023/12/08 18:22:15.040 26663 26687 Info Unity UnityEngine.XR.Interaction.Toolkit.UI.UIInputModule:ProcessPointerButton(ButtonDeltaState, PointerEventData) 2023/12/08 18:22:15.040 26663 26687 Info Unity UnityEngine.XR.Interaction.Toolkit.UI.UIInputModule:ProcessTrackedDevice(TrackedDeviceModel&, Boolean) 2023/12/08 18:22:15.040 26663 26687 Info Unity UnityEngine.XR.Interaction.Toolkit.UI.XRUIInputModule:DoProcess() 2023/12/08 18:22:15.040 26663 26687 Info Unity 2023/12/08 18:22:15.040 26663 26687 Debug Unity > FindClass(com/unity3d/player/UnityPlayer) 2023/12/08 18:22:15.041 26663 26687 Fatal mplate.urpblan java_vm_ext.cc:579] JNI DETECTED ERROR IN APPLICATION: JNI FindClass called with pending exception java.lang.ClassNotFoundException: Didn't find class "com.unity3d.player.ReflectionHelper" on path: DexPathList[[directory "."],nativeLibraryDirectories=[/system/lib64, /system_ext/lib64, /system/lib64, /system_ext/lib64]] 2023/12/08 18:22:15.041 26663 26687 Fatal mplate.urpblan java_vm_ext.cc:579] at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:218) 2023/12/08 18:22:15.041 26663 26687 Fatal mplate.urpblan java_vm_ext.cc:579] at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) 2023/12/08 18:22:15.041 26663 26687 Fatal mplate.urpblan java_vm_ext.cc:579] at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) 2023/12/08 18:22:15.041 26663 26687 Fatal mplate.urpblan java_vm_ext.cc:579] 2023/12/08 18:22:15.041 26663 26687 Fatal mplate.urpblan java_vm_ext.cc:579] in call to FindClass 2023/12/08 18:22:15.055 26663 26725 Debug AAudioStream setState(s#2) from 0 to 2 2023/12/08 18:22:15.055 26663 26725 Info AAudio AAudioStreamBuilder_openStream() returns 0 = AAUDIO_OK for s#2 ---------------- 2023/12/08 18:22:15.055 26663 26725 Debug AAudio AAudioStream_requestStart(s#2) called -------------- 2023/12/08 18:22:15.055 26663 26725 Debug AAudioStream setState(s#2) from 2 to 3 2023/12/08 18:22:15.065 26663 26725 Debug AAudio AAudioStream_requestStart(s#2) returned 0 --------- 2023/12/08 18:22:15.065 26663 26680 Debug AudioStreamLegacy onAudioDeviceUpdate(deviceId = 14) 2023/12/08 18:22:15.066 26663 26680 Debug AudioStreamLegacy onAudioDeviceUpdate(deviceId = 14) 2023/12/08 18:22:15.070 26663 26779 Info VrApi FPS=72/72,Prd=52ms,Tear=0,Early=31,Stale=0,Stale2/5/10/max=0/0/0/0,VSnc=0,Lat=-1,Fov=0,CPU4/GPU=2/2,2361/456MHz,OC=3F,TA=0/0/0,SP=N/N/N,Mem=2736MHz,Free=3259MB,PLS=0,Temp=30.0C/0.0C,TW=1.30ms,App=8.08ms,GD=0.00ms,CPU&GPU=12.32ms,LCnt=2(DR72,LM2),GPU%=0.59,CPU%=0.42(W0.57),DSF=1.00,CFL=14.95/20.55,ICFLp95=18.89,LD=0,SF=1.27,LP=0,DVFS=0 2023/12/08 18:22:15.089 26663 26687 Fatal mplate.urpblan runtime.cc:669] Runtime aborting... 2023/12/08 18:22:15.089 26663 26687 Fatal mplate.urpblan runtime.cc:669] Dumping all threads without mutator lock held 2023/12/08 18:22:15.089 26663 26687 Fatal mplate.urpblan runtime.cc:669] All threads: 2023/12/08 18:22:15.089 26663 26687 Fatal mplate.urpblan runtime.cc:669] DALVIK THREADS (26): 2023/12/08 18:22:15.089 26663 26687 Fatal mplate.urpblan runtime.cc:669] "Thread-2" prio=5 tid=20 Runnable 2023/12/08 18:22:15.089 26663 26687 Fatal mplate.urpblan runtime.cc:669] | group="" sCount=0 ucsCount=0 flags=0 obj=0x13200678 self=0xb40000731a72ac00 2023/12/08 18:22:15.089 26663 26687 Fatal mplate.urpblan runtime.cc:669] | sysTid=26687 nice=0 cgrp=top-app sched=0/0 handle=0x72b1c27970 2023/12/08 18:22:15.089 26663 26687 Fatal mplate.urpblan runtime.cc:669] | state=R schedstat=( 3734763302 199781158 6665 ) utm=309 stm=63 core=4 HZ=100 2023/12/08 18:22:15.089 26663 26687 Fatal mplate.urpblan runtime.cc:669] | stack=0x72b1b30000-0x72b1b32000 stackSize=990KB 2023/12/08 18:22:15.089 26663 26687 Fatal mplate.urpblan runtime.cc:669] | held mutexes= "abort lock" "mutator lock"(shared held) and so on. can't post everything due to char limit. Thanks1KViews0likes1Comment257 Photon fusion compiler errors though i use Photon Pun 2
basically i use Photon pun 2 and i downloaded the meta sdk for in app purchases and Meta quest In game usernames but now i have almost exactly 257 compiler errors cause i dont use fusion and when i try Re downloading it and importing it, my project crashes and doesnt open again. Please help (editor version 2022.3.62f1)25Views0likes0CommentsQuest Pro EyeTracker sampling at higher rate.
Hi, is there a way to use the eyetracker at maximum sample rate? Our application is running around 30 fps but we want use maximum eye tracker frequency for our research analytics, is there a way to do it? Currently we use OVRPlugin.GetEyeGazesState() but that only gives us last value for the frame. We would like to get list of values sampled since last frame, or sample it separate thread at desired frequency. Any help is appreciated.34Views0likes0CommentsSpaceWarp works in empty project but not main one (Unity 6000.1.6f1, Quest 3)
Hey all, I’m running into something weird with Application SpaceWarp on Quest 3. I set up a clean empty project in Unity 6000.1.6f1 with OpenXR (Meta XR features) and Vulkan only. SpaceWarp works fine there and the performance overlay shows ASW kicking in as expected. But in my main project (same Unity version, same OpenXR/Vulkan settings) , SpaceWarp never activates. Both projects have: Meta XR Space Warp enabled Vulkan as the only graphics API Same Project Settings → OpenXR (Application SpaceWarp checked) Same Player/Quality settings I already checked URP settings, even copied the same and Materials show the XR Motion Vectors Pass still no luck. Any tips for narrowing down what breaks it? Maybe some other package that I have on my main project? Thanks!!!303Views0likes8CommentsSkip PC VR setup everyday through headset!
We wanted to use Quest (have v2 currently) headsets for showroom VR, but they have proved too complex for none-IT users to deal with, even if you are accustomed to PC tech the way you have to put on the headset and choose the PC link every time is a drag and at times the it's glitchy. Is there any way to mod the headsets to always start up in PC link mode so no in-headset menu navigation is required?Solved133Views0likes6CommentsUnity + Quest: repeated VK_ERROR_INITIALIZATION_FAILED error
I am updating an existing Quest game to use the latest Oculus integration etc. The game runs fine for a minute or so and then the visuals of the game freeze on one frame and the following is repeated on the log. It appears that the game is still running fine in the background because I can hear sounds that suggest that it is running fine, besides the visuals. Warn Adreno-GSL <log_gpu_snapshot:471>: panel.gpuSnapshotPath is not set.not generating user snapshot Warn Adreno-GSL <ioctl_kgsl_syncobj_create:5290>: (45, 33, 2329) fail 22 Invalid argument Warn Vulkan_Utils Vulkan error: vulkanLoader.vkQueueSubmit(VulkanContext.queue, 0, NULL, fenceToUse): 'VK_ERROR_INITIALIZATION_FAILED'(-3) at arvr/projects/xrruntime/mobile/VrRuntime/Client/VrRuntimeClient/VrRuntimeClient.cpp:2625 Warn Adreno-GSL <log_gpu_snapshot:471>: panel.gpuSnapshotPath is not set.not generating user snapshot Warn Adreno-GSL <ioctl_kgsl_syncobj_create:5290>: (45, 33, 2330) fail 22 Invalid argument Warn Vulkan_Utils Vulkan error: vulkanLoader.vkQueueSubmit(VulkanContext.queue, 0, NULL, fenceToUse): 'VK_ERROR_INITIALIZATION_FAILED'(-3) at arvr/projects/xrruntime/mobile/VrRuntime/Client/VrRuntimeClient/VrRuntimeClient.cpp:2625 Warn FenceChecker FenceChecker: wait timed out after 100 msec Warn Adreno-GSL <log_gpu_snapshot:471>: panel.gpuSnapshotPath is not set.not generating user snapshot Warn Adreno-GSL <ioctl_kgsl_syncobj_create:5290>: (45, 33, 2331) fail 22 Invalid argument Warn Vulkan_Utils Vulkan error: vulkanLoader.vkQueueSubmit(VulkanContext.queue, 0, NULL, fenceToUse): 'VK_ERROR_INITIALIZATION_FAILED'(-3) at arvr/projects/xrruntime/mobile/VrRuntime/Client/VrRuntimeClient/VrRuntimeClient.cpp:2625 Warn FenceChecker FenceChecker: wait timed out after 100 msec Warn Adreno-GSL <log_gpu_snapshot:471>: panel.gpuSnapshotPath is not set.not generating user snapshot Warn Adreno-GSL <ioctl_kgsl_syncobj_create:5290>: (45, 33, 2332) fail 22 Invalid argument Warn Vulkan_Utils Vulkan error: vulkanLoader.vkQueueSubmit(VulkanContext.queue, 0, NULL, fenceToUse): 'VK_ERROR_INITIALIZATION_FAILED'(-3) at arvr/projects/xrruntime/mobile/VrRuntime/Client/VrRuntimeClient/VrRuntimeClient.cpp:2625 I am about to start the trial and error process to determine what the parameters are that cause the issue and what devices are affected by it. Here is some of my build information: Unity 2022.2.15f1 Oculus XR Plugin 3.3.0 Oculus Integration 53.1 (1.85.0) Device: Quest Pro System Version 50000390062500330 Version 53.0.0.147.132.475553041 Runtime Version 53.0.0.147.132.475553298 OS Version SQ3A.220605.009.A1 Please let me know if you have any information or if it might be a known issue with my software versions.Solved5.6KViews0likes16CommentsScene Change interaction issues
I'm very new to this world and learning curve is real. I've been teaching myself Unity all summer for an art exhibit in two weeks where I plan to have this VR project. It's close, but I can't seem to get the controllers to interact with the UI Buttons and change scenes. I have four UI canvases (each with a UI button child) that will connect to the 4 different scenes. I started with Unity's XR Interaction Toolkit and switched to Meta Interaction and using Building blocks hoping it would simplify the process. I've read so many different ways to get the ray to change scenes, but so far it isn't working. At this point, I think I have too many components on my game objects so I'm not sure how to troubleshoot. On the one UI Canvas I'm testing, I have graphic raycaster, tracked device graphic raycaster, pointable canvas. On the UI Button I have a button component with OnClick set to the scene via SceneLoader script (which was working with mouseclick, but now its not), Pointable Unity Event Wrapper with When Release set to the scene it should go to, and Ray Interactable. On the Event System I have XR UI Input Module and Pointable Canvas Module. I'm also not sure it isn't something I'm missing on the Controller Tracking Settings. I also added XR Ray Interactor on the Building Block GameObjects for left and right. At this point I'd be happy to start from scratch on the UI scene with new UI Canvas GameObjects if it means getting this to work, but I need to understand the most streamlined process to take first. I'd be very grateful for guidance. Can anyone help?Solved134Views0likes9Commentsinstall error: [Meta XR Simulator Installer] Central Directory corrupt.
Tomorrow I was proposed for a Meta XR Simulator (v78) update on Unity 2022.3.62f (Win11) but I get this error: [Meta XR Simulator Installer] Central Directory corrupt. UnityEngine.Debug:LogError (object) Meta.XR.Simulator.Editor.LogUtils:ReportError (string,string) (at ./Library/PackageCache/com.meta.xr.simulator@78.0.0/Editor/Utils/LogUtils.cs:40) Meta.XR.Simulator.Editor.LogUtils:DisplayDialogOrError (string,string,bool) (at ./Library/PackageCache/com.meta.xr.simulator@78.0.0/Editor/Utils/LogUtils.cs:50) Meta.XR.Simulator.Editor.Installer/<>c__DisplayClass12_0:<InstallXRSimulator>b__1 (string) (at ./Library/PackageCache/com.meta.xr.simulator@78.0.0/Editor/Installer.cs:90) Meta.XR.Simulator.Editor.Installer/<>c__DisplayClass14_0:<InstallXRSim>b__2 (string) (at ./Library/PackageCache/com.meta.xr.simulator@78.0.0/Editor/Installer.cs:122) Meta.XR.Simulator.Editor.Installer:UnzipPackage (string,string,System.Action`1<string>) (at ./Library/PackageCache/com.meta.xr.simulator@78.0.0/Editor/Installer.cs:197) Meta.XR.Simulator.Editor.Installer/<>c__DisplayClass14_0:<InstallXRSim>b__1 () (at ./Library/PackageCache/com.meta.xr.simulator@78.0.0/Editor/Installer.cs:120) System.Threading._ThreadPoolWaitCallback:PerformWaitCallback () Any suggestion?514Views1like8Comments