Skip to content

[Bug]: Panic related to GetHiddenAreaMesh #304

@mitsuami-megane

Description

@mitsuami-megane

Operating System

Gentoo

OpenXR Runtime

WiVRn 26.2

Describe the issue.

This keeps popping up every now and again for me.

The panic happens right when the game starts, around the time when I would expect to start seeing images from the game's loading screen in VR.

It is is quite rare and seems mostly random. I'm not sure when I saw the first one, but it was likely before 0.4.0 even.

[2026-02-11T14:38:50.675 DEBUG xrizer::clientcore ThreadId(1)] app asking about interface: "IVRSystem_022"
[2026-02-11T14:38:50.675 DEBUG xrizer::clientcore ThreadId(1)] requested interface "IVRSystem_022"
[2026-02-11T14:38:50.675 DEBUG xrizer::clientcore ThreadId(1)] requested interface "IVRCompositor_028"
[2026-02-11T14:38:50.675 DEBUG xrizer::clientcore ThreadId(1)] requested interface "IVROverlay_027"
[2026-02-11T14:38:50.688 DEBUG xrizer::clientcore ThreadId(1)] requested interface "IVRSystem_022"
[2026-02-11T14:38:50.688 DEBUG xrizer::system ThreadId(2)] GetHiddenAreaMesh: area mesh type: Standard
[2026-02-11T14:38:50.688 ERROR xrizer ThreadId(2)] panicked at src/system.rs:75:14:
Couldn't locate views: ERROR_RUNTIME_FAILURE
[2026-02-11T14:38:50.688 ERROR xrizer ThreadId(2)] Backtrace:
   0: xrizer::init_logging::{{closure}}::{{closure}}
   1: std::panicking::panic_with_hook
   2: std::panicking::panic_handler::{{closure}}
   3: std::sys::backtrace::__rust_end_short_backtrace
   4: __rustc::rust_begin_unwind
   5: core::panicking::panic_fmt
   6: core::result::unwrap_failed
   7: xrizer::system::ViewCache::get_views_view_space
   8: xrizer::system::ViewCache::get_views
   9: xrizer::system::System::get_views
  10: <xrizer::system::System as openvr::bindings::vr::IVRSystem023_Interface>::GetProjectionRaw
  11: <xrizer::system::System as openvr::bindings::vr::IVRSystem023_Interface>::GetHiddenAreaMesh
  12: openvr::bindings::vr::ivrsystem022::GetHiddenAreaMesh
  13: IVRSystem_IVRSystem_022_GetHiddenAreaMesh
  14: __wine_unix_call_dispatcher
  15: start_thread
  16: <unknown>
  17: clone

Steps to reproduce

Launch VRChat

Please confirm you have reproduced this on the latest commit.

  • I have reproduced this on the latest commit

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions