Search Unity

Bug During Mock HMD playmode, Unity Editor Crash when trying to capture Renderdoc

Discussion in 'XR Interaction Toolkit and Input' started by BellyLand, Sep 10, 2021.

  1. BellyLand

    BellyLand

    Joined:
    Feb 5, 2019
    Posts:
    6
    As mentioned in the title of the thread, I've been encountering this issue for years now where Unity Editor keep crashing if I try to do a renderdoc capture in Game View while Mock HMD is enabled (Single Pass Instanced).

    Currently I'm using Unity Editor 2021.2.0b4.3123 with URP. I know renderdoc capture used to work fine with Mock HMD before in the much older Unity version, I'm just wondering if there's any workaround for this in later version 2020+ (without having to build an executable and capture renderdoc from there)?

    To Replicate the issue:
    1) Enabling Mock HMD Loader and "Initialize XR on Startup" in (Project Settings/XR Plug-in Management)
    2) Right click on Game Tab -> Load RenderDoc
    3) Enter playmode, making sure Mock HMD is showing 2 VR views
    4) Clicking renderdoc icon for gpu capture, Crash!
     
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,822