Forum Discussion
EnthusiastGames
2 years agoExplorer
OpenXR Hanging after v62 update
After the v62 update, my play in editor times had jumped to 20-60 seconds. I managed to profile and found the culprit as seen in the photo:
While I narrowed down the issue in Unity, this happens with my packaged application, and other unity applications. I believe anything using the openXR runtime.
Things I've tried
- Uninstall Meta Quest Software and clearing all app data folders. Then re-install.
- Upgraded Graphics Drivers (I have a GTX 1080).
- Computer Restart
- Oculus Quest 2 Factory Reset
7 Replies
- maprohuExplorer
Same issue here. I wonder if it is possible to revert to an earlier version of the Meta Link App?
- maprohuExplorer
It seems like doing as much as runing the "hello_xr" example from the OpenXR Sdk can reproduce the same behavior:
[12:04:56.477][Info ] Press any key to shutdown... [12:04:56.624][Verbose] Available Extensions: (31) [12:04:56.624][Verbose] Name=XR_KHR_D3D11_enable SpecVersion=9 [12:04:56.624][Verbose] Name=XR_KHR_D3D12_enable SpecVersion=9 [12:04:56.624][Verbose] Name=XR_KHR_opengl_enable SpecVersion=10 [12:04:56.624][Verbose] Name=XR_KHR_vulkan_enable SpecVersion=8 [12:04:56.624][Verbose] Name=XR_KHR_vulkan_enable2 SpecVersion=2 [12:04:56.624][Verbose] Name=XR_KHR_composition_layer_depth SpecVersion=6 [12:04:56.624][Verbose] Name=XR_KHR_win32_convert_performance_counter_time SpecVersion=1 [12:04:56.624][Verbose] Name=XR_KHR_convert_timespec_time SpecVersion=1 [12:04:56.625][Verbose] Name=XR_KHR_composition_layer_cube SpecVersion=8 [12:04:56.625][Verbose] Name=XR_KHR_composition_layer_cylinder SpecVersion=4 [12:04:56.625][Verbose] Name=XR_KHR_composition_layer_equirect SpecVersion=3 [12:04:56.625][Verbose] Name=XR_KHR_visibility_mask SpecVersion=2 [12:04:56.625][Verbose] Name=XR_KHR_composition_layer_color_scale_bias SpecVersion=5 [12:04:56.625][Verbose] Name=XR_EXT_win32_appcontainer_compatible SpecVersion=1 [12:04:56.625][Verbose] Name=XR_EXT_debug_utils SpecVersion=5 [12:04:56.625][Verbose] Name=XR_OCULUS_recenter_event SpecVersion=1 [12:04:56.625][Verbose] Name=XR_OCULUS_audio_device_guid SpecVersion=1 [12:04:56.625][Verbose] Name=XR_FB_color_space SpecVersion=3 [12:04:56.626][Verbose] Name=XR_FB_display_refresh_rate SpecVersion=1 [12:04:56.626][Verbose] Name=XR_META_performance_metrics SpecVersion=2 [12:04:56.626][Verbose] Name=XR_META_headset_id SpecVersion=1 [12:04:56.626][Verbose] Name=XR_OCULUS_ovrsession_handle SpecVersion=1 [12:04:56.626][Verbose] Name=XR_EXT_local_floor SpecVersion=1 [12:04:56.626][Verbose] Name=XR_EXT_active_action_set_priority SpecVersion=1 [12:04:56.626][Verbose] Name=XR_FB_haptic_amplitude_envelope SpecVersion=1 [12:04:56.626][Verbose] Name=XR_FB_haptic_pcm SpecVersion=1 [12:04:56.627][Verbose] Name=XR_FB_touch_controller_pro SpecVersion=1 [12:04:56.627][Verbose] Name=XR_META_touch_controller_plus SpecVersion=1 [12:04:56.627][Verbose] Name=XR_FB_touch_controller_proximity SpecVersion=1 [12:04:56.627][Verbose] Name=XR_OCULUS_external_camera SpecVersion=1 [12:04:56.627][Verbose] Name=XR_META_detached_controllers SpecVersion=1 [12:04:56.627][Info ] Available Layers: (0) [12:04:56.629][Info ] Instance RuntimeName=Oculus RuntimeVersion=1.94.0 [12:04:56.632][Verbose] Using system 20 for form factor XR_FORM_FACTOR_HEAD_MOUNTED_DISPLAY [12:04:56.632][Info ] Available View Configuration Types: (1) [12:04:56.632][Verbose] View Configuration Type: XR_VIEW_CONFIGURATION_TYPE_PRIMARY_STEREO (Selected) [12:04:56.632][Verbose] View configuration FovMutable=False [12:04:56.632][Verbose] View [0]: Recommended Width=2080 Height=2096 SampleCount=1 [12:04:56.632][Verbose] View [0]: Maximum Width=4160 Height=4192 SampleCount=4 [12:04:56.633][Verbose] View [1]: Recommended Width=2080 Height=2096 SampleCount=1 [12:04:56.633][Verbose] View [1]: Maximum Width=4160 Height=4192 SampleCount=4 [12:04:56.633][Info ] Available Environment Blend Mode count : (1) [12:04:56.633][Info ] Environment Blend Mode (XR_ENVIRONMENT_BLEND_MODE_OPAQUE) : (Selected) [12:04:56.641][Verbose] Using graphics adapter NVIDIA GeForce RTX 3070 Ti Laptop GPU [12:04:56.775][Verbose] Creating session... [12:05:17.000][Info ] Available reference spaces: 3 [12:05:17.000][Verbose] Name: XR_REFERENCE_SPACE_TYPE_VIEW [12:05:17.000][Verbose] Name: XR_REFERENCE_SPACE_TYPE_LOCAL [12:05:17.000][Verbose] Name: XR_REFERENCE_SPACE_TYPE_STAGE [12:05:17.000][Info ] System Properties: Name=Oculus Quest2 VendorId=-11714 [12:05:17.000][Info ] System Graphics Properties: MaxWidth=4096 MaxHeight=4096 MaxLayers=16 [12:05:17.000][Info ] System Tracking Properties: OrientationTracking=True PositionTracking=True [12:05:17.000][Verbose] Swapchain Formats: 10 20 26 [28] 29 40 45 55 87 91 93 [12:05:17.001][Info ] Creating swapchain for view 0 with dimensions Width=2080 Height=2096 SampleCount=1 [12:05:17.009][Info ] Creating swapchain for view 1 with dimensions Width=2080 Height=2096 SampleCount=1 [12:05:17.018][Info ] XrEventDataSessionStateChanged: state XR_SESSION_STATE_UNKNOWN->XR_SESSION_STATE_IDLE session=72206887101136897 time=136952920973100 [12:05:17.018][Info ] XrEventDataSessionStateChanged: state XR_SESSION_STATE_IDLE->XR_SESSION_STATE_READY session=72206887101136897 time=136952920986499 [12:05:17.026][Info ] XrEventDataSessionStateChanged: state XR_SESSION_STATE_READY->XR_SESSION_STATE_SYNCHRONIZED session=72206887101136897 time=136973062676600 [12:05:17.748][Info ] XrEventDataSessionStateChanged: state XR_SESSION_STATE_SYNCHRONIZED->XR_SESSION_STATE_VISIBLE session=72206887101136897 time=136973784079200 [12:05:17.748][Info ] XrEventDataSessionStateChanged: state XR_SESSION_STATE_VISIBLE->XR_SESSION_STATE_FOCUSED session=72206887101136897 time=136973784087699Note the 20+ seconds gap after "Creating session..."
- EnthusiastGamesExplorer
I tried replying but it seemed to make a post to this thread; my mistake.
- EnthusiastGamesExplorer
Interesting. I notice you have a newer card. I thought maybe having an older 1080 might have been the culprit. Thanks for sharing.
How consistent is this for you? I'm stuck with 20 second load times minimum and sometimes 3 minutes without fail.
- maprohuExplorer
For me it's been consistently around 20 seconds, I cannot recall a much longer delay. Though I have not been trying too much.
I experienced the same with Unity, Godot and StereoKit, even Unreal has the 20 second delay at first. However in the case of Unreal Engine it only seems to be stuck the first time that I run the VR Preview, after that it launches quickly as it should.
- flashkExplorer
I'm also experiencing a long delay (> 30 seconds) in my non-Unity app when attempting to create an OpenXR session with v62. I posted about this issue in the Khronos OpenXR forum:
https://community.khronos.org/t/xrcreatesession-slow-to-return-with-meta-quest-link-runtime/110525
Any word on when this issue will be fixed?
- EnthusiastGamesExplorer
tldr; You see this issue when your PC Oculus Software and Quest software are out-of-sync. Most people having issues had it when their PC software went to v62, but Quest was stuck on v60. Most don't have access to the Public Testing Channel so you'll need to install an archive for the update manually.
See this link: https://forum.unity.com/threads/xr-plug-in-management-enter-play-mode-takes-over-20-seconds-to-start.1545020/#post-9638291
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device